Modifier and Type | Method and Description |
---|---|
Object |
AbstractReadAccessor.get(IExecutionContext ctxt)
This method handles in / out logging and redirects to
AbstractReadAccessor.internalGet(IExecutionContext) for specific implementation. |
Object |
IReadAccessor.get(IExecutionContext ctxt)
Gets the value.
|
Object |
MVariablePropertyAccessor.get(IExecutionContext ctxt,
boolean instantiateAll) |
Object |
MPropertyAccessor.get(IExecutionContext ctxt,
boolean instantiateAll) |
Object |
IReadWriteAccessor.get(IExecutionContext ctxt,
boolean instantiateAll)
Gets the value of the target.
|
protected abstract Comparator<Object> |
MMinMaxAccessor.getComparator(IExecutionContext ctxt) |
protected Comparator<Object> |
MMinMaxAccessor.Min.getComparator(IExecutionContext ctxt) |
protected Comparator<Object> |
MMinMaxAccessor.Max.getComparator(IExecutionContext ctxt) |
Object |
MSubPartAccessor.handleValue(IExecutionContext ctxt,
Object value) |
Object |
MCountAccessor.handleValue(IExecutionContext ctxt,
Object value) |
Object |
MVariablePropertyAccessor.handleValue(IExecutionContext ctxt,
Object propertyName) |
Iterator<?> |
MIterateAccessor.handleValue(IExecutionContext ctxt,
Object value) |
Object |
IAccessorValueHandler.handleValue(IExecutionContext ctxt,
Object value)
Called for each value of the iterated element.
|
Object |
AbstractReadSourceAccessor.handleValue(IExecutionContext ctxt,
Object value)
If value is a collection an collections should be parsed, calls
AbstractReadSourceAccessor.specificHandleValue(IExecutionContext, Object)
for all elements in collection. |
Object |
MPropertyAccessor.handleValue(IExecutionContext ctxt,
Object srcValue) |
Object |
MVariablePropertyAccessor.handleValue(IExecutionContext ctxt,
Object propertyName,
boolean instantiateAll) |
Object |
MPropertyAccessor.handleValue(IExecutionContext ctxt,
Object srcValue,
boolean instantiateAll) |
protected Object |
MSubPartAccessor.internalGet(IExecutionContext ctxt) |
protected Object |
MConditionsCountAccessor.internalGet(IExecutionContext ctxt) |
protected Object |
MValuesAccessor.internalGet(IExecutionContext ctxt) |
protected Object |
MConcatenateAccessor.internalGet(IExecutionContext ctxt) |
protected Object |
MTernaryAccessor.internalGet(IExecutionContext ctxt) |
protected Object |
MVariablePropertyAccessor.internalGet(IExecutionContext ctxt) |
protected abstract Object |
AbstractReadAccessor.internalGet(IExecutionContext ctxt)
Specific addon implementation must be here.
|
protected Object |
MDateDiffAccessor.internalGet(IExecutionContext ctxt) |
protected Object |
MIterateAccessor.internalGet(IExecutionContext ctxt) |
protected Object |
MCoalesceAccessor.internalGet(IExecutionContext ctxt) |
protected Object |
MNewInstanceAccessor.internalGet(IExecutionContext ctxt) |
protected Object |
AbstractReadSourceAccessor.internalGet(IExecutionContext ctxt)
If source should iterate, calls handleValue for all elements.
|
protected Object |
AbstractConditionWrapperAccessor.internalGet(IExecutionContext ctxt) |
protected Object |
MFormatAccessor.internalGet(IExecutionContext ctxt) |
protected Object |
MPropertyAccessor.internalGet(IExecutionContext ctxt) |
protected Object |
AbstractExecutableWrapperAccessor.internalGet(IExecutionContext ctxt) |
protected Object |
MValueAccessor.internalGet(IExecutionContext ctxt) |
protected Object |
AbstractPropertyCheckAccessor.internalGet(IExecutionContext ctxt) |
protected Boolean |
MDefinedAccessor.internalGet(IExecutionContext ctxt,
IProperty2 compiledProperty) |
protected Boolean |
MAvailableAccessor.internalGet(IExecutionContext ctxt,
IProperty2 compiledProperty) |
protected abstract Boolean |
AbstractPropertyCheckAccessor.internalGet(IExecutionContext ctxt,
IProperty2 compiledProperty)
The final implementation should check the property here.
|
void |
AbstractReadSourceAccessor.resetCachedData(IExecutionContext ctxt) |
void |
MPropertyAccessor.resetCachedData(IExecutionContext ctxt) |
Object |
IWriteAccessor.set(IExecutionContext ctxt,
IReadAccessor accessor)
Sets the value.
|
Object |
MVariablePropertyAccessor.set(IExecutionContext ctxt,
IReadAccessor accessor) |
Object |
MPropertyAccessor.set(IExecutionContext ctxt,
IReadAccessor accessor) |
Object |
IWriteAccessor.set(IExecutionContext ctxt,
Object obj)
Sets the value.
|
Object |
MVariablePropertyAccessor.set(IExecutionContext ctxt,
Object obj) |
Object |
MPropertyAccessor.set(IExecutionContext ctxt,
Object obj) |
Object |
MFilterAccessor.specificHandleValue(IExecutionContext ctxt,
Object value) |
Object |
MCastAccessor.specificHandleValue(IExecutionContext ctxt,
Object value) |
Object |
MSplitAccessor.specificHandleValue(IExecutionContext ctxt,
Object value) |
Object |
MNullIfEmptyAccessor.specificHandleValue(IExecutionContext ctxt,
Object value) |
Object |
AbstractMapAccessor.specificHandleValue(IExecutionContext ctxt,
Object value) |
Object |
MMinMaxAccessor.specificHandleValue(IExecutionContext ctxt,
Object value) |
protected Object |
MSizeAccessor.specificHandleValue(IExecutionContext ctxt,
Object value) |
Object |
MSearchAccessor.specificHandleValue(IExecutionContext ctxt,
Object value) |
protected Object |
MDateManipulationAccessor.specificHandleValue(IExecutionContext ctxt,
Object value) |
protected abstract Object |
AbstractReadSourceAccessor.specificHandleValue(IExecutionContext ctxt,
Object value)
Override this to apply specific transformation on value read from source accessor.
|
Constructor and Description |
---|
AccessorIterator(IExecutionContext ctxt,
IAccessorValueHandler handler,
Iterator<?> iterator) |
Constructor and Description |
---|
InternalIterator(IExecutionContext ctxt,
Iterator<? extends Object> it) |
Modifier and Type | Method and Description |
---|---|
IExecutionResult |
MActionUndefine.execute(IExecutionContext ctxt)
Overridden to change thrown exception.
|
IExecutionResult |
IAction.execute(IExecutionContext ctxt)
Executes the action.
|
IExecutionResult |
MActionExec.execute(IExecutionContext ctxt)
Overridden to change thrown exception.
|
IExecutionResult |
AbstractBasicAction.execute(IExecutionContext ctxt)
Overridden to change thrown exception.
|
IExecutionResult |
MActionDefine.execute(IExecutionContext ctxt)
Overridden to change thrown exception.
|
protected Object |
MActionSort.getCol(IExecutionContext ctxt,
Object value) |
protected IExecutionResult |
MActionClear.internalExecute(IExecutionContext ctxt) |
protected IExecutionResult |
MAccessorWrapper.internalExecute(IExecutionContext ctxt) |
protected IExecutionResult |
MActionSort.internalExecute(IExecutionContext ctxt) |
protected IExecutionResult |
MActionAddAll.internalExecute(IExecutionContext ctxt) |
protected IExecutionResult |
MActionUndefine.internalExecute(IExecutionContext ctxt) |
protected IExecutionResult |
MActionResetCache.internalExecute(IExecutionContext ctxt) |
protected IExecutionResult |
MActionExec.internalExecute(IExecutionContext ctxt) |
protected IExecutionResult |
MActionDefine.internalExecute(IExecutionContext ctxt) |
protected IExecutionResult |
MActionSet.internalExecute(IExecutionContext ctxt) |
protected IExecutionResult |
MActionFlowControl.internalExecute(IExecutionContext ctxt) |
protected IExecutionResult |
MActionAdd.internalExecute(IExecutionContext ctxt) |
protected IExecutionResult |
AbstractActionPrint.internalExecute(IExecutionContext ctxt)
Launches printing after basic streams checks, then calls
AbstractActionPrint.print(IExecutionContext) . |
protected void |
MActionPrintF.print(IExecutionContext ctxt) |
protected void |
MActionPrint.print(IExecutionContext ctxt) |
protected abstract void |
AbstractActionPrint.print(IExecutionContext ctxt)
Handles implementation specificities of printing, and then should redirect effective printing to
AbstractActionPrint.print(IExecutionContext, Object) |
protected void |
AbstractActionPrint.print(IExecutionContext ctxt,
Object sourceVal)
Chooses stream and performs effective printing.
|
Modifier and Type | Method and Description |
---|---|
static void |
MAddonsUtils.debugEntering(IExecutionContext ctxt,
IAddon addon)
Convenient method designed to be called at beginning of execution method of an addon.
|
static void |
MAddonsUtils.debugExitError(IExecutionContext ctxt,
IAddon addon,
Throwable t)
Convenient method designed to be called at end of execution method of an addon.
|
static void |
MAddonsUtils.debugExiting(IExecutionContext ctxt,
IAddon addon)
Convenient method designed to be called at end of execution method of an addon.
|
static void |
MAddonsUtils.debugExiting(IExecutionContext ctxt,
IAddon addon,
Object result)
Convenient method designed to be called at end of execution method of an addon.
|
abstract Object |
DefaultVariablesManager.AbstractVariableAccessor.getVarValue(IExecutionContext ctxt) |
Object |
DefaultVariablesManager.Date.getVarValue(IExecutionContext ctxt) |
Object |
DefaultVariablesManager.DateTime.getVarValue(IExecutionContext ctxt) |
Object |
DefaultVariablesManager.Time.getVarValue(IExecutionContext ctxt) |
Object |
DefaultVariablesManager.RulesetName.getVarValue(IExecutionContext ctxt) |
Object |
DefaultVariablesManager.RootWritebase.getVarValue(IExecutionContext ctxt) |
Object |
DefaultVariablesManager.RootReadbase.getVarValue(IExecutionContext ctxt) |
Object |
DefaultVariablesManager.Writebase.getVarValue(IExecutionContext ctxt) |
Object |
DefaultVariablesManager.Readbase.getVarValue(IExecutionContext ctxt) |
Object |
DefaultVariablesManager.NullValue.getVarValue(IExecutionContext ctxt) |
protected Object |
DefaultVariablesManager.AbstractVariableAccessor.internalGet(IExecutionContext ctxt) |
void |
IAddon.resetCachedData(IExecutionContext ctxt)
Tells this addon to reset its cached data, if any.
|
void |
AbstractAddon.resetCachedData(IExecutionContext ctxt)
Does nothing.
|
void |
AbstractAnonymousAddon.resetCachedData(IExecutionContext ctxt)
Does nothing.
|
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 |
---|---|
boolean |
ICondition.evaluate(IExecutionContext ctxt)
Evaluates the result of the rule.
|
boolean |
AbstractCondition.evaluate(IExecutionContext ctxt)
This method handles in / out logging and redirects to
AbstractCondition.pEvaluate(IExecutionContext) for specific implementation. |
boolean |
MEvaluationCondition.LiveCastCondition.evaluate(IExecutionContext ctxt) |
Object |
IEvaluationCondition.getReferenceValue(IExecutionContext ctxt)
The reference value to evaluate against source value.
|
Object |
MEvaluationCondition.getReferenceValue(IExecutionContext ctxt) |
Object |
MEvaluationCondition.LiveCastCondition.getReferenceValue(IExecutionContext ctxt) |
Object |
IEvaluationCondition.getSourceValue(IExecutionContext ctxt)
The source value.
|
Object |
MEvaluationCondition.getSourceValue(IExecutionContext ctxt) |
Object |
MEvaluationCondition.LiveCastCondition.getSourceValue(IExecutionContext ctxt) |
protected boolean |
MConditionSet.pEvaluate(IExecutionContext ctxt) |
protected abstract boolean |
AbstractCondition.pEvaluate(IExecutionContext ctxt) |
protected boolean |
AbstractAccessorWrapperCondition.pEvaluate(IExecutionContext ctxt) |
protected boolean |
MHardCodedCondition.pEvaluate(IExecutionContext ctxt) |
protected boolean |
MConditionNot.pEvaluate(IExecutionContext ctxt) |
protected boolean |
MEvaluationCondition.pEvaluate(IExecutionContext ctxt) |
void |
MEvaluationCondition.resetCachedData(IExecutionContext ctxt) |
void |
MEvaluationCondition.LiveCastCondition.update(IExecutionContext ctxt,
Object sv,
Object rv) |
Constructor and Description |
---|
LiveCastCondition(IExecutionContext ctxt) |
LiveCastCondition(IExecutionContext ctxt,
Object sourceValue,
Object referenceValue) |
Modifier and Type | Method and Description |
---|---|
IExecutionContext |
IContextFactory.getExecutionContext()
Builds execution context.
|
Modifier and Type | Method and Description |
---|---|
IExecutionContext |
CompilationContextWrapper.convertToExecutionContext() |
IExecutionContext |
MExecutionContextConverter.convertToExecutionContext() |
IExecutionContext |
AbstractCompilationContext.convertToExecutionContext() |
IExecutionContext |
ICompilationContext.convertToExecutionContext()
Allows to convert this compilation context to a "fake" execution context.
|
Constructor and Description |
---|
MExecutionContextConverter(IExecutionContext c,
CompilationLevel compilationLevel) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractExecutionContext
Class allowing to execute the rule executionSet.
|
class |
ExecutionContextWrapper
Deprecated.
For performance issues, directly instantiate a new Context or use convenience methods
getSubContextForNewBases(Object) and getSubContextForNewBases(Object, Object) |
class |
MCompilationContextConverter
Allows to wrap a
ICompilationContext in order to simulate an Execution context. |
class |
MExecutionContext<I>
Class allowing to execute the rule executionSet.
|
class |
MInOutExecutionContext<I,O>
Class allowing to execute the rule executionSet.
|
class |
MListExecutionContext
This particular context intends to ensure compatibility with JSR 94 specs.
|
class |
MStandaloneExecutionContext
Class allowing to execute the rule executionSet.
|
Modifier and Type | Method and Description |
---|---|
IExecutionContext |
AbstractExecutionContext.getRootContext() |
IExecutionContext |
IExecutionContext.getRootContext() |
IExecutionContext |
MCompilationContextConverter.getRootContext() |
IExecutionContext |
ExecutionContextWrapper.getRootContext()
Deprecated.
|
Constructor and Description |
---|
ExecutionContextWrapper(IExecutionContext c)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MIndex.debugAfterIndex(IExecutionContext ctxt,
boolean valueFound)
Called in
AbstractExecutable.execute(IExecutionContext) , between conditions evaluation
and actions execution. |
void |
MRule.debugEntering(IExecutionContext ctxt,
IAddon addon)
Called at beginning of
AbstractExecutable.execute(IExecutionContext) . |
void |
MIndex.debugEntering(IExecutionContext ctxt,
IAddon addon)
Called at beginning of
AbstractExecutable.execute(IExecutionContext) . |
protected void |
AbstractVariableCreator.debugVariableCreation(IExecutionContext ctxt,
Object value)
To log creation if needed.
|
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. |
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) |
Modifier and Type | Method and Description |
---|---|
Object |
Jdk8VariablesManager.Jdk8Date.getVarValue(IExecutionContext ctxt) |
Object |
Jdk8VariablesManager.Jdk8DateTime.getVarValue(IExecutionContext ctxt) |
Object |
Jdk8VariablesManager.Jdk8Time.getVarValue(IExecutionContext ctxt) |
Modifier and Type | Method and Description |
---|---|
boolean |
VALBETWEEN.evaluate(IExecutionContext ctxt,
Iterable<ICondition> conditions) |
boolean |
OR.evaluate(IExecutionContext ctxt,
Iterable<ICondition> conditions) |
boolean |
XOR.evaluate(IExecutionContext ctxt,
Iterable<ICondition> conditions) |
boolean |
AND.evaluate(IExecutionContext ctxt,
Iterable<ICondition> conditions) |
boolean |
ILogicalOperator.evaluate(IExecutionContext ctxt,
Iterable<ICondition> conditions)
Evaluate result for this operator.
|
Modifier and Type | Method and Description |
---|---|
Number |
IMathOperator.compute(IExecutionContext ctxt,
IReadAccessor left,
IReadAccessor right)
Evaluate result for this operator.
|
Number |
AbstractMathOperator.compute(IExecutionContext ctxt,
IReadAccessor left,
IReadAccessor right) |
Modifier and Type | Method and Description |
---|---|
IExecutionResult |
MRuleExecutionSetWrapper.call(String name,
IExecutionContext ctxt) |
IExecutionResult |
MRuleExecutionSet.call(String name,
IExecutionContext ctxt) |
void |
AbstractMRuleExecutionSet.debugEntering(IExecutionContext ctxt,
IAddon addon)
Overridden to output provided entity.
|
void |
AbstractMRuleExecutionSet.debugExiting(IExecutionContext ctxt,
IAddon addon,
IExecutionResult result)
Overridden to output result and provided output entity.
|
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) |
void |
AbstractMRuleExecutionSet.resetCachedData(IExecutionContext ctxt)
Does nothing.
|
void |
MRuleExecutionSetWrapper.resetCachedData(IExecutionContext ctxt) |
Constructor and Description |
---|
GenericSubPropComparator(IExecutionContext ctxt,
List<? extends IReadAccessor> on,
boolean nullFirst,
boolean asc) |
Modifier and Type | Method and Description |
---|---|
IExecutionContext |
AccessorGetIterator.getCurrentContextWrapper() |
Constructor and Description |
---|
AccessorGetIterable(IExecutionContext ctxt,
IReadAccessor accessor,
Iterable<? extends Object> it,
Class<T> targetType) |
AccessorGetIterator(IExecutionContext ctxt,
IReadAccessor accessor,
Iterator<? extends Object> it,
Class<T> targetType) |
AccessorValuesIterable(IExecutionContext ctxt,
Iterable<? extends IReadAccessor> it,
Class<T> targetType) |
AccessorValuesIterator(IExecutionContext ctxt,
Iterator<? extends IReadAccessor> it,
Class<T> targetType) |
Modifier and Type | Method and Description |
---|---|
IExecutionContext |
ExtPropertySource.getCtxt() |
Modifier and Type | Method and Description |
---|---|
void |
ExtPropertySource.setCtxt(IExecutionContext ctxt) |
Constructor and Description |
---|
ExtPropertySource(IExecutionContext ctxt,
Class<?> sourceType) |
ExtPropertySource(IExecutionContext ctxt,
Object source) |
ExtPropertySource(IExecutionContext ctxt,
Object source,
Class<?> sourceType) |