Package | Description |
---|---|
com.massa.mrules.action | |
com.massa.mrules.callable | |
com.massa.mrules.context.execute | |
com.massa.mrules.executable | |
com.massa.mrules.set |
Modifier and Type | Method and Description |
---|---|
IExecutionResult |
ICallable.call(IExecutionContext ctxt)
Executes the call.
|
IExecutionResult |
Function.call(IExecutionContext ctxt) |
IExecutionResult |
ICallableRepository.call(String name,
IExecutionContext ctxt)
Requests call to the
ICallable identified by its name inside the repository. |
protected IExecutionResult |
Call.internalExecute(IExecutionContext ctxt) |
protected IExecutionResult |
Return.internalExecute(IExecutionContext ctxt) |
Modifier and Type | Method and Description |
---|---|
IExecutionResult |
AbstractExecutionContext.execute() |
IExecutionResult |
IExecutionContext.execute()
Convenience method to execute the MRuleExecutionSet of this context with this context.
|
IExecutionResult |
ExecutionContextWrapper.execute()
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
ExecutionResultWrapper
This implementation wraps an
IExecutionResult to redirect everything to
the original result. |
Modifier and Type | Field and Description |
---|---|
IExecutionResult |
ExecutionResultState.COND_KO
Constant results, returning [condition: KO / action: Current Enum Value].
|
IExecutionResult |
ExecutionResultState.COND_NA
Constant results, returning [condition: NA / action: Current Enum Value].
|
IExecutionResult |
ExecutionResultState.COND_OK
Constant results, returning [condition: OK / action: Current Enum Value].
|
IExecutionResult |
ExecutionResultState.COND_PARTIAL
Constant results, returning [condition: PARTIAL / action: Current Enum Value].
|
Modifier and Type | Method and Description |
---|---|
static IExecutionResult |
ExecutionResultWrapper.combine(IExecutionResult states,
IExecutionResult returnedValueAndDirective)
Easy way to combine states and [return value and/or directive]
|
static IExecutionResult |
ExecutionResultWrapper.combineIgnoringDirective(IExecutionResult states,
IExecutionResult returnedValue)
Easy way to combine states and return value if present
|
static IExecutionResult |
AbstractExecutable.combineResults(IExecutionResult result,
IExecutionResult subresult)
Combine results' states to produce a new result.
|
IExecutionResult |
AbstractExecutable.execute(IExecutionContext ctxt)
This method handles in / out logging and redirects to
AbstractExecutable.internalExecute(IExecutionContext) for specific implementation. |
IExecutionResult |
IExecutable.execute(IExecutionContext ctxt)
Performs the action.
|
static IExecutionResult |
AbstractExecutable.execute(IExecutionContext ctxt,
IAddon owner,
List<? extends IExecutable> executables,
boolean stopAtFirstValidatedCondition)
Executes a list of
IExecutable . |
IExecutionResult |
AbstractExecutable.execute(IExecutionContext ctxt,
List<? extends IExecutable> executables,
boolean stopAtFirstValidatedCondition)
An easy way to launch
AbstractExecutable.execute(IExecutionContext, IAddon, List, boolean) with owner = this. |
IExecutionResult |
ExecutionResultState.getForCondition(ExecutionResultState conditionResult)
Considering current enum value is Action result,
returns a result for [condition: conditionResult / action: Current Enum Value]
|
IExecutionResult |
ExecutionResultWrapper.getResult() |
protected IExecutionResult |
MExecutionBlock.internalExecute(IExecutionContext ctxt) |
protected abstract IExecutionResult |
AbstractExecutable.internalExecute(IExecutionContext ctxt) |
protected IExecutionResult |
MRule.internalExecute(IExecutionContext ctxt) |
protected IExecutionResult |
MForEachNumber.internalExecute(IExecutionContext ctxt) |
protected IExecutionResult |
MIndex.internalExecute(IExecutionContext ctxt) |
protected IExecutionResult |
MForEach.internalExecute(IExecutionContext ctxt) |
static IExecutionResult |
ExecutionResultWrapper.wrapForDirective(IExecutionResult result,
IExecutionControlDirective directive)
Easy way to wrap a result with a directive
|
static IExecutionResult |
ExecutionResultWrapper.wrapForDirectiveAndReturnedValue(IExecutionResult result,
Object returnedValue,
IExecutionControlDirective directive)
Easy way to wrap a result with a return value and a directive
|
static IExecutionResult |
ExecutionResultWrapper.wrapForReturnedValue(IExecutionResult result,
Object returnedValue)
Easy way to wrap a result with a return value
|
Modifier and Type | Method and Description |
---|---|
static IExecutionResult |
ExecutionResultWrapper.combine(IExecutionResult states,
IExecutionResult returnedValueAndDirective)
Easy way to combine states and [return value and/or directive]
|
static IExecutionResult |
ExecutionResultWrapper.combineIgnoringDirective(IExecutionResult states,
IExecutionResult returnedValue)
Easy way to combine states and return value if present
|
static IExecutionResult |
AbstractExecutable.combineResults(IExecutionResult result,
IExecutionResult subresult)
Combine results' states to produce a new result.
|
static IExecutionResult |
ExecutionResultWrapper.wrapForDirective(IExecutionResult result,
IExecutionControlDirective directive)
Easy way to wrap a result with a directive
|
static IExecutionResult |
ExecutionResultWrapper.wrapForDirectiveAndReturnedValue(IExecutionResult result,
Object returnedValue,
IExecutionControlDirective directive)
Easy way to wrap a result with a return value and a directive
|
static IExecutionResult |
ExecutionResultWrapper.wrapForReturnedValue(IExecutionResult result,
Object returnedValue)
Easy way to wrap a result with a return value
|
Constructor and Description |
---|
ExecutionResultWrapper(IExecutionResult result) |
Modifier and Type | Method and Description |
---|---|
IExecutionResult |
MRuleExecutionSetWrapper.call(String name,
IExecutionContext ctxt) |
IExecutionResult |
MRuleExecutionSet.call(String name,
IExecutionContext ctxt) |
IExecutionResult |
AbstractMRuleExecutionSet.execute(IExecutionContext ctxt)
General contract for all RuleExecutionSet implementations.
|
IExecutionResult |
MRuleExecutionSetWrapper.execute(IExecutionContext ctxt) |
IExecutionResult |
IMRuleExecutionSet.execute(IExecutionContext ctxt)
General contract for all RuleExecutionSet implementations.
|
protected abstract IExecutionResult |
AbstractMRuleExecutionSet.executeRuleSet(IExecutionContext ctxt)
Performs implementation specific execution actions.
|
IExecutionResult |
MRuleExecutionSet.executeRuleSet(IExecutionContext ctxt) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractMRuleExecutionSet.debugExiting(IExecutionContext ctxt,
IAddon addon,
IExecutionResult result)
Overridden to output result and provided output entity.
|