public interface IExecutable extends IAddon, javax.rules.admin.Rule
Modifier and Type | Interface and Description |
---|---|
static interface |
IExecutable.ValueReturning
Annotating an executable with the ValueReturning interface
just points out that this particular executable may return a value,
i.e. the
IExecutionResult.getReturnedValue() of the execute(IExecutionContext)
method's result may be exploited. |
Modifier and Type | Method and Description |
---|---|
IExecutable |
clone()
Clones the IExecutable.
|
void |
compile(ICompilationContext ctxt)
Compiles the IExecutable to precompute data, ensure that future executions will work, etc ...
|
IExecutionResult |
execute(IExecutionContext ctxt)
Performs the action.
|
Map<Object,Object> |
getProperties()
Get all properties.
|
boolean |
hasProperties()
Has at least one property.
|
boolean |
hasProperty(Object key)
Contains the property identified by the provided key.
|
void |
removeProperty(Object key)
Removing property.
|
getImplementationId, getInternalCacheIdentifier, isCacheUsed, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
void compile(ICompilationContext ctxt) throws MRuleValidationException
MRuleValidationException
- if validation problem detected.IExecutionResult execute(IExecutionContext ctxt) throws MExecutionException
ctxt
- MConditionEvaluationException
MActionExecutionException
MExecutionException
IExecutable clone()
clone
in interface IAddon
clone
in interface IMRulesObject
void removeProperty(Object key)
boolean hasProperty(Object key)
boolean hasProperties()