@PersistantProperty(property="contextFactory") @PersistantProperty(property="defaultObjectFilter") @PersistantProperty(property="cacheEnabled",defaultValue="true") public interface IMRuleExecutionSet extends IExecutable, javax.rules.admin.RuleExecutionSet
IExecutable.ValueReturning
Modifier and Type | Method and Description |
---|---|
IMRuleExecutionSet |
clone()
Clones the IExecutable.
|
IExecutionResult |
execute(IExecutionContext ctxt)
General contract for all RuleExecutionSet implementations.
|
MBeanUtils.ImportHolder |
generateImports()
Generates "on the fly" the imports, ignoring data produced by the compilation phase.
|
IContextFactory |
getContextFactory() |
javax.rules.ObjectFilter |
getDefaultObjectFilterInstance() |
MBeanUtils.ImportHolder |
getImports()
Returns local imports for this ruleset.
|
int |
getInternalDistinctAddonCacheCount() |
MRuleExecutionSetMetadata |
getMetadata() |
String |
getUri() |
boolean |
isCacheEnabled()
Allows to globally disable cache usage for this ruleset.
|
boolean |
isCompiled()
Tells whether the mandatory compilation step has been executed or not.
|
void |
setCacheEnabled(boolean cacheEnabled)
Allows to globally disable cache usage for this ruleset.
|
void |
setContextFactory(IContextFactory contextFactory) |
void |
setUri(String uri)
Set unique ruleset URI
|
compile, getProperties, hasProperties, hasProperty, removeProperty
getImplementationId, getInternalCacheIdentifier, isCacheUsed, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
IExecutionResult execute(IExecutionContext ctxt) throws MExecutionException
execute
in interface IExecutable
ExecutionResultState.combineConditionState(ExecutionResultState)
) :
ExecutionResultState.combineActionState(ExecutionResultState)
) :
MConditionEvaluationException
MActionExecutionException
MExecutionException
boolean isCompiled()
boolean isCacheEnabled()
ICompilationContext.isCacheEnabled(String)
instead.void setCacheEnabled(boolean cacheEnabled)
javax.rules.ObjectFilter getDefaultObjectFilterInstance() throws MRuleInternalException
MRuleInternalException
MRuleExecutionSetMetadata getMetadata()
String getUri()
void setUri(String uri)
IContextFactory getContextFactory()
void setContextFactory(IContextFactory contextFactory)
IMRuleExecutionSet clone()
IExecutable
clone
in interface IAddon
clone
in interface IExecutable
clone
in interface IMRulesObject
int getInternalDistinctAddonCacheCount()
MBeanUtils.ImportHolder getImports()
MBeanUtils.ImportHolder generateImports()