Modifier and Type | Interface and Description |
---|---|
interface |
IAccessor
Defines common methods for Read and Write accessors.
|
interface |
IReadAccessor
An object which gets whatever value.
|
static interface |
IReadAccessor.Standalone
Annotating a read accessor with the Standalone interface
just points out that this particular accessor may have side effects and should be able
to be called in a standalone way, i.e. ignoring its returing value.
|
interface |
IReadWriteAccessor
An object which gets or sets whatever value.
|
interface |
IWriteAccessor
An object which gets or sets whatever value.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractConditionWrapperAccessor
Abstract implementation of
MConditionWrapperAccessor , so that wrapper class can be final but implementation
can be reused. |
class |
AbstractExecutableWrapperAccessor
Abstract implementation of
MConditionWrapperAccessor , so that wrapper class can be final but implementation
can be reused. |
class |
AbstractMapAccessor
Common parent class for accessors allowing to access keys, values or entries of Maps.
|
class |
AbstractPropertyCheckAccessor
Common code for accessors which check a Property at runtime.
|
class |
AbstractReadAccessor
Implements base compilation chaining and provides 2 methods to implement instead of 4.
|
class |
AbstractReadSourceAccessor
This class intends to provide a base for accessors dedicated to read a source sub-accessor and
transform the value in any way.
|
class |
MAvailableAccessor
Allows to check if a property is available, at runtime.
|
class |
MCastAccessor
Class that allows to perform a specified class, overriding any automatic transformation requested during compilation process.
|
class |
MCoalesceAccessor
Returns the first non-null result of the sub-accessors.
|
class |
MConcatenateAccessor
Allows to concatenate Strings from:
All items returned by a single source, which might be an Iterable, an Iterator, an Enumeration or an Array.
|
class |
MConditionsCountAccessor
Allows to count the number of validated or not validated conditions.
|
class |
MConditionWrapperAccessor
Allows to wrap a condition as an accessor to retrieve its result and use it directly.
|
class |
MCountAccessor
Allows to search a Collection for Objects validating a specific condition and to count them.
|
class |
MDateDiffAccessor
This accessor allows to compute difference between two dates (or time),
in year(s), month(s), day(s), hour(s), minute(s), second(s) or milli(s).
|
class |
MDateManipulationAccessor
This accessor allows to perform operations on dates (or time),
i.e. adding year(s), month(s), day(s), hour(s), minute(s), second(s) or milli(s) to a provided date.
|
class |
MDefinedAccessor
Allows to check if a property is available, at runtime.
|
class |
MExecutableWrapperAccessor
Allows to wrap an executable as an accessor to retrieve its result and use it directly.
|
class |
MFilterAccessor
Allows to search a Collection for an Object validating a specific condition.
|
class |
MFormatAccessor
MessageFormat like Accessor Implementation, replacing variables by values.
|
class |
MIterateAccessor
Allows to iterate on:
All items returned by a single source, which might be a String, an Iterable, an Iterator, an Enumeration or an Array.
|
class |
MMapEntriesAccessor
Accessor allowing to retrieve entries of Maps as a Collection.
|
class |
MMapKeysAccessor
Accessor allowing to retrieve keys of Maps as a Collection.
|
class |
MMapValuesAccessor
Accessor allowing to retrieve values of Maps as a Collection.
|
class |
MMinMaxAccessor
Allows to search a Collection to find the minimum / maximum value
This accessor allows to take into account only some elements of the Collection (via the condition) and also to consider a sub property for the comparison. |
static class |
MMinMaxAccessor.Max |
static class |
MMinMaxAccessor.Min |
class |
MNewInstanceAccessor
Allows to create a new instance of an object.
|
class |
MNullIfEmptyAccessor
Class that allows to check if an Array, a
String (or CharSequence ) or a Collection is empty and if so, return null instead. |
class |
MPropertyAccessor
Allows to retrieve value from an object and to cast it depending on target.
|
class |
MSearchAccessor
Allows to search a Collection for an Object validating a specific condition.
|
class |
MSizeAccessor
Allows to compute a value size.
|
class |
MSplitAccessor
Allows to split a Character Sequence (String, Buffer, ...).
|
class |
MSubPartAccessor
Allows to get part of the value.
|
class |
MTernaryAccessor
Allows to retrieve result of a condition evaluation to use it directly.
|
class |
MValueAccessor
Allows to specify a constant value and to cast it depending on target.
|
class |
MValuesAccessor
Allows to specify several constant values in order to obtain a Collection.
|
class |
MVariablePropertyAccessor
Allows to access properties for which name is not known (or not fully known) at compilation time.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractReadSourceAccessor.wasRegistered(ICompilationContext ctxt,
IAddon parent,
AddonInfo info) |
boolean |
MPropertyAccessor.wasRegistered(ICompilationContext ctxt,
IAddon parent,
AddonInfo info) |
Modifier and Type | Class and Description |
---|---|
class |
Abs
Class that allows to round decimal numbers.
|
class |
Average
Computes average value on some numbers.
|
class |
Divide
Dividing some numbers.
|
class |
MArithmeticAccessor
Abstract class that allows to perform arithmetic operations.
|
class |
Mod
Calculates modulo.
|
class |
MSingleMathOperation
Allows to perform single mathematic operations.
|
class |
Multiply
Multiplying some numbers.
|
class |
Pow
Powering some numbers.
|
class |
Round
Class that allows to round decimal numbers.
|
class |
Subtract
Substracting some numbers.
|
class |
Sum
Adding some numbers.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MSingleMathOperation.wasRegistered(ICompilationContext ctxt,
IAddon parent,
AddonInfo info) |
Modifier and Type | Interface and Description |
---|---|
interface |
IAction
Defines something to do on the output bean.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractActionPrint
Action that prints something to execution context out stream (standard or error).
|
class |
AbstractBasicAction
Base class for many actions.
|
class |
AbstractSrcTgtAction<S extends IReadAccessor,T extends IAccessor>
Abstract layer for actions declaring a source and a target.
|
class |
MAccessorWrapper
Allows to wrap a read accessor as an executable to execute the "get" method.
|
class |
MActionAdd
Action that adds the value of the source Accessor to the Collection provided by the target Accessor.
|
class |
MActionAddAll
Action that adds all the values of the source Accessor to the Collection provided by the target Accessor.
|
class |
MActionClear
Action that adds the value of the source Accessor to the Collection provided by the target Accessor.
|
class |
MActionDefine
Defines a variable from an accessor value.
|
class |
MActionExec
Action that executes system command and redirects output to execution context out stream (standard or error).
|
class |
MActionFlowControl
Action that allows to control execution flow.
|
class |
MActionPrint
Implementation that concatenates a bunch of data and prints result.
|
class |
MActionPrintF
Implementation based on
MFormatAccessor , allowing to replace parts of an input String with values. |
class |
MActionResetCache
Action that allows to manually reset cached data.
|
class |
MActionSet
Action that sets the value of an accessor with a value taken from another accessor.
|
class |
MActionSort
Action that sorts the values of the source Accessor.
|
class |
MActionUndefine
Undefines a variable.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAddon
Common mother class for addons implementation.
|
class |
AbstractAnonymousAddon
Specific mother class for special addons, without name information desired.
|
static class |
DefaultVariablesManager.AbstractVariableAccessor
Base for variable accessors.
|
static class |
DefaultVariablesManager.Date
Default "#DATE" system variable accessor.
|
static class |
DefaultVariablesManager.DateTime
Default "#DATETIME" system variable accessor.
|
static class |
DefaultVariablesManager.Now
Default "#NOW" system variable accessor.
|
static class |
DefaultVariablesManager.NullValue
Default "#NULL" system variable accessor.
|
static class |
DefaultVariablesManager.Readbase
Default "#READBASE" system variable accessor.
|
static class |
DefaultVariablesManager.RootReadbase
Default "#ROOTREADBASE" system variable accessor.
|
static class |
DefaultVariablesManager.RootWritebase
Default "#ROOTWRITEBASE" system variable accessor.
|
static class |
DefaultVariablesManager.RulesetName
Default "#RULESETNAME" system variable accessor.
|
static class |
DefaultVariablesManager.Time
Default "#TIME" system variable accessor.
|
static class |
DefaultVariablesManager.Writebase
Default "#WRITEBASE" system variable accessor.
|
Modifier and Type | Method and Description |
---|---|
static <A extends IAddon> |
MAddonsUtils.cloneAddon(A a)
Clones an Addon, handling correctly null values.
|
static <C extends Collection<G>,G extends IAddon> |
MAddonsUtils.cloneAddons(C c)
Clones a Collection of Addons, using the same Collection type as the one provided.
|
static <T extends IAddon> |
MAddonsUtils.wrap(Class<T> type,
IAddon value)
Allows to automatically wrap an Addon by another, in order to directly use result.
|
Modifier and Type | Method and Description |
---|---|
IAddon |
IAddon.clone()
Clones the Addon.
|
static IAddon |
MAddonsUtils.unwrap(IAddon value)
Unwraps the provided addon if wrapped.
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends IAddon> |
MAddonsFinder.getAddon(String name) |
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.
|
static void |
MAddonsUtils.enterCompile(ICompilationContext ctxt,
IAddon addon,
String compileType)
Logs at compilation beginning. compileType might be provided to add information or be null to be ignored.
|
static void |
MAddonsUtils.exitCompile(ICompilationContext ctxt,
IAddon addon,
String compileType)
Logs at compilation ending. compileType might be provided to add information or be null to be ignored.
|
static void |
MAddonsFinder.registerAddon(IAddon addon)
Allows to manually register new Addons.
|
static IAddon |
MAddonsUtils.unwrap(IAddon value)
Unwraps the provided addon if wrapped.
|
boolean |
IAddon.wasRegistered(ICompilationContext ctxt,
IAddon parent,
AddonInfo info)
Hook called when addon is registered in context.
|
boolean |
AbstractAddon.wasRegistered(ICompilationContext ctxt,
IAddon parent,
AddonInfo info)
Convenience method, which does nothing.
|
boolean |
AbstractAnonymousAddon.wasRegistered(ICompilationContext ctxt,
IAddon parent,
AddonInfo info)
Convenience method, which does nothing.
|
static <T extends IAddon> |
MAddonsUtils.wrap(Class<T> type,
IAddon value)
Allows to automatically wrap an Addon by another, in order to directly use result.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
MAddonsUtils.isCacheUsed(Iterable<? extends IAddon> addons)
Tells if cached is used by all addons using cache in this list.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ICallable
Describes portions of a ruleset that can be declared
and then invoked later during the execution, eventually with arguments.
|
Modifier and Type | Class and Description |
---|---|
class |
Call
Performs the call to an ICallable, using the callable repository.
|
class |
Function
Allows to declare functions.
|
class |
Return
Stops execution of a
ICallable using flow control. |
Modifier and Type | Method and Description |
---|---|
boolean |
Return.wasRegistered(ICompilationContext ctxt,
IAddon parent,
AddonInfo info) |
Modifier and Type | Interface and Description |
---|---|
interface |
ICondition
An object which can be evaluated, telling if one or more condition(s) is(are) respected.
|
interface |
IEvaluationCondition
An leaf condition, evaluating a value from the input object : "sourceValue",
in general using an operator.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAccessorWrapperCondition
Abstract implementation of
MAccessorWrapperCondition , so that wrapper class can be final but implementation
can be reused. |
class |
AbstractCondition
Abstraction Layer for conditions.
|
class |
MAccessorWrapperCondition
Allows to wrap an accessor as a condition to retrieve its result and use it directly.
|
class |
MConditionNot
Simple
ICondition implementation allowing to invert the result of another ICondition |
class |
MConditionSet
ICondition implementation allowing to combine sub-ICondition s evaluation results
and do more complex testings. |
class |
MEvaluationCondition
IEvaluationCondition base implementation, allowing to retrieve 1 or 2 values from IReadAccessor
and to apply test implemented in an operator on these values. |
class |
MEvaluationCondition.LiveCastCondition
Allows to dynamically cast values to be able to correctly evaluate the condition.
|
class |
MHardCodedCondition
This implementation allows to specify a condition with a constant result.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MEvaluationCondition.wasRegistered(ICompilationContext ctxt,
IAddon parent,
AddonInfo info) |
Modifier and Type | Interface and Description |
---|---|
interface |
IContextFactory
Context factories allow to create and initialize Execution and Compilation context for
a specific Rule Engine instance.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractContextFactory |
class |
MContextFactory
Context factories allow to create and initialize Execution and Compilation context for
a specific Rule Engine instance.
|
class |
MInOutContextFactory
Context factories allow to create and initialize Execution and Compilation context for
a specific Rule Engine instance.
|
class |
MListContextFactory
Context factories allow to create and initialize Execution and Compilation context for
a specific Rule Engine instance.
|
class |
MStandaloneContextFactory
Context factories allow to create and initialize Execution and Compilation context for
a specific Rule Engine instance.
|
Modifier and Type | Method and Description |
---|---|
<A extends IAddon> |
CompilationContextWrapper.getAddonInfo(A addon) |
<A extends IAddon> |
MExecutionContextConverter.getAddonInfo(A addon) |
<A extends IAddon> |
AbstractCompilationContext.getAddonInfo(A addon) |
<A extends IAddon> |
ICompilationContext.getAddonInfo(A addon) |
Modifier and Type | Method and Description |
---|---|
IAddon |
AddonInfo.getAddon() |
Modifier and Type | Method and Description |
---|---|
List<IAddon> |
CompilationContextWrapper.getAllAddons() |
List<IAddon> |
MExecutionContextConverter.getAllAddons() |
List<IAddon> |
AbstractCompilationContext.getAllAddons() |
List<IAddon> |
ICompilationContext.getAllAddons()
Gets all addons encountered during compilation process.
|
List<IAddon> |
AddonInfo.getAllOccurences() |
Set<IAddon> |
CompilationContextWrapper.getAllUniqueAddons() |
Set<IAddon> |
MExecutionContextConverter.getAllUniqueAddons() |
Set<IAddon> |
AbstractCompilationContext.getAllUniqueAddons() |
Set<IAddon> |
ICompilationContext.getAllUniqueAddons()
Gets all unique addons encountered during compilation process.
|
List<IAddon> |
AddonInfo.getParents() |
List<IAddon> |
AddonInfo.getSpecialCacheHooks() |
Set<IAddon> |
AddonInfo.getUniqueParents() |
Modifier and Type | Method and Description |
---|---|
boolean |
CompilationContextWrapper.registerAddon(IAddon parent,
IAddon addon) |
boolean |
MExecutionContextConverter.registerAddon(IAddon parent,
IAddon addon) |
boolean |
AbstractCompilationContext.registerAddon(IAddon parent,
IAddon addon) |
boolean |
ICompilationContext.registerAddon(IAddon parent,
IAddon addon)
Registers any encountered
IAddon during compilation process. |
void |
CompilationContextWrapper.registerAddonRecursively(IAddon parent,
IAddon addon) |
void |
MExecutionContextConverter.registerAddonRecursively(IAddon parent,
IAddon addon) |
void |
AbstractCompilationContext.registerAddonRecursively(IAddon parent,
IAddon addon) |
void |
ICompilationContext.registerAddonRecursively(IAddon parent,
IAddon addon)
Registers this Addon and all it's sub addons.
|
void |
AddonInfo.setAddon(IAddon addon) |
Constructor and Description |
---|
AddonInfo(IAddon addon)
Builds new
AddonInfo with occurenceCount set to 1. |
Modifier and Type | Method and Description |
---|---|
Object |
AbstractExecutionContext.getCachedData(IAddon a) |
Object |
IExecutionContext.getCachedData(IAddon a)
Retrieves data cached by
IExecutionContext.setCachedData(IAddon, Object) . |
Object |
ExecutionContextWrapper.getCachedData(IAddon a)
Deprecated.
|
boolean |
AbstractExecutionContext.hasCachedData(IAddon a) |
boolean |
IExecutionContext.hasCachedData(IAddon a)
Tells if data are cached by
IExecutionContext.setCachedData(IAddon, Object) , included null value. |
boolean |
ExecutionContextWrapper.hasCachedData(IAddon a)
Deprecated.
|
Object |
AbstractExecutionContext.resetCachedData(IAddon a) |
Object |
IExecutionContext.resetCachedData(IAddon a)
Resets cached data for one addons, returning previously cached data.
|
Object |
ExecutionContextWrapper.resetCachedData(IAddon a)
Deprecated.
|
Object |
AbstractExecutionContext.setCachedData(IAddon a,
Object o) |
Object |
IExecutionContext.setCachedData(IAddon a,
Object o)
Allows to cache data for a given addon.
|
Object |
ExecutionContextWrapper.setCachedData(IAddon a,
Object o)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IExecutable
Describes the execute method implemented by each class that performs an action
(like setting a value or running conditions for example), as opposition with classes
which evaluate some conditions.
|
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 IExecutable.execute(IExecutionContext)
method's result may be exploited. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractExecutable
Provides base utilities for Executable Rules.
|
class |
AbstractVariableCreator
Abstract class for executables which define variable(s).
|
class |
AbstractVariableCreatorSource
Abstract class for executables which define variable(s) from a source Accessor.
|
class |
MExecutionBlock
A simple list of executables, to use as a "sub block", which can allow to control flow more precisely
or to specify specific behaviour (different compilation level for example).
|
class |
MForEach
An action which parses a Collection, Arrays, etc ..., creates a variable with the current value and invokes executables for each value.
|
class |
MForEachNumber
An action which iterates on a range of numbers, creates a variable with the current value and invokes executables for each value.
|
class |
MIndex
A complete set of conditions to evaluate and actions to perform according to evaluation result.
|
static class |
MIndex.IndexAction
This class contains description of what to do when an index value corresponds to the entity value.
|
class |
MRule
A complete set of condition to evaluate and actions to perform according to evaluation result.
|
Modifier and Type | Method and Description |
---|---|
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) . |
static IExecutionResult |
AbstractExecutable.execute(IExecutionContext ctxt,
IAddon owner,
List<? extends IExecutable> executables,
boolean stopAtFirstValidatedCondition)
Executes a list of
IExecutable . |
boolean |
IExecutionControlDirective.isApplyingTo(IAddon executable)
Tests if this directive applies to this executable.
|
boolean |
ExecutionControlDirective.isApplyingTo(IAddon executable) |
boolean |
MIndex.wasRegistered(ICompilationContext ctxt,
IAddon parent,
AddonInfo info) |
Modifier and Type | Class and Description |
---|---|
static class |
Jdk8VariablesManager.Jdk8Date
Default "#DATE" system variable accessor.
|
static class |
Jdk8VariablesManager.Jdk8DateTime
Default "#DATETIME" system variable accessor.
|
static class |
Jdk8VariablesManager.Jdk8Now
Default "#NOW" system variable accessor.
|
static class |
Jdk8VariablesManager.Jdk8Time
Default "#TIME" system variable accessor.
|
Modifier and Type | Class and Description |
---|---|
class |
RichXMLFactory.CALLAddon<A extends IAddon>
Addon dedicated to CALL implementation, in order to handle arguments under the form of attributes.
|
class |
RichXMLFactory.FORMATAddon<A extends IAddon>
Addon dedicated to FORMAT implementation, in order to handle arguments under the form of attributes.
|
class |
RichXMLFactory.GenericAddon<A extends IAddon>
SubFactory used by default if an addon does not have its own SubFactory.
|
class |
RichXMLFactory.PRINTFAddon<A extends IAddon>
Addon dedicated to FORMAT implementation, in order to handle arguments under the form of attributes.
|
Modifier and Type | Method and Description |
---|---|
protected <A extends IAddon> |
RichXMLFactory.getAddonFactory(A addon) |
protected <A extends IAddon> |
RichXMLFactory.getAddonFactory(String addonImplem) |
protected <A extends IAddon> |
RichXMLFactory.getFromAddon(Node node) |
protected <A extends IAddon> |
RichXMLFactory.writeAddonList(Outer os,
Class<A> clazz,
List<? extends A> addonsList,
String nodeName) |
Modifier and Type | Interface and Description |
---|---|
interface |
IEvaluationOperator
Interface specifying methods of evaluation operator implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCollectionEvaluationOperator
Base implementation for operators handling Collections from source.
|
class |
AbstractEvaluationOperator
Base implementation.
|
class |
BETWEEN
Ensures that source value is between 2 values.
|
class |
COLDISJOINED
Ensures that the provided Collections have no item in common.
|
class |
COLEQ
Compares Collection content WITHOUT taking order into account.
|
class |
COLIN |
class |
COLINCLUDED
Ensures that all elements in the provided source Collection are present in the reference Collection.
|
class |
COLINCLUDES
Ensures that all elements in the provided reference Collection are present in the source Collection.
|
class |
COLINTERSECTS
Ensures that the provided Collections at least one item in common.
|
class |
COLNE
Compares Collection content WITHOUT taking order into account.
|
class |
COLNOTIN
Inverts the result of
COLIN . |
class |
CONTAINS
Ensures that the provided source value is present in the reference Collection.
|
class |
EMPTY
Checks that source value is not null or empty (if accurate, for collections, arrays, maps, strings, ...).
|
class |
EQ
Ensures that the provided source and reference values are equal.
|
class |
GT
Ensures that the provided source value is greater than the reference values.
|
class |
GTE
Ensures that the provided source value is greater or equal than the reference values.
|
class |
IN
Ensures that the provided source value is present in the reference Collection.
|
class |
LT
Ensures that the provided source value is lesser than the reference values.
|
class |
LTE
Ensures that the provided source value is lesser or equal than the reference values.
|
class |
MATCH
Ensures that the provided source value matched the regular expression represented by the reference values.
|
class |
NE
Ensures that the provided source and reference values are different.
|
class |
NOTCONTAINS
Ensures that the provided source value is not present in the reference Collection.
|
class |
NOTEMPTY
Inverts
MATCH results. |
class |
NOTIN
Ensures that the provided source value is not present in the reference Collection.
|
class |
NOTMATCH
Inverts
MATCH results. |
class |
NOTNULL
Checks that source value is not null.
|
class |
NULL
Checks that source value is not null.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ILogicalOperator
Interface specifying methods of logical operator implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLogicalOperator
Base implementation.
|
class |
AND
Combines several conditions results.
|
class |
OR
Combines several conditions results.
|
class |
VALBETWEEN
Counts validated (by default, but can be not validated) conditions, and validated if count is between min and max.
|
class |
XOR
Combines several conditions results.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IMathOperator
Interface specifying methods of logical operator implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMathOperator
Base implementation.
|
class |
DIVIDED
Performs left / right
|
class |
MINUS
Performs left minus right
|
class |
MODULO
Performs left minus right
|
class |
MULTIPLIED
Performs left * right
|
class |
PLUS
Performs left + right
|
class |
POWER
Performs left minus right
|
Modifier and Type | Method and Description |
---|---|
protected abstract IAddon |
AbstractRecursiveOptimizer.doAfterChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Hook called by
AbstractRecursiveOptimizer.pOptimizeRecursively(ICompilationContext, IAddon, PersistantPropertyInfo, IAddon) after browsing all sub addons. |
protected IAddon |
MExpressionOptimizer.doAfterChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Performs optimization.
|
protected IAddon |
MDeduplicationOptimizer.doAfterChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Does nothing.
|
protected IAddon |
MConstantOptimizer.doAfterChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Does nothing.
|
protected IAddon |
MReturnStatementOptimizer.doAfterChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Does nothing.
|
protected abstract IAddon |
AbstractRecursiveOptimizer.doBeforeChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Hook called by
AbstractRecursiveOptimizer.pOptimizeRecursively(ICompilationContext, IAddon, PersistantPropertyInfo, IAddon) before browsing all sub addons. |
protected IAddon |
MExpressionOptimizer.doBeforeChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Does nothing.
|
protected IAddon |
MDeduplicationOptimizer.doBeforeChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Deduplicates before children parsing.
|
protected IAddon |
MConstantOptimizer.doBeforeChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Replaces eligible Read Accessors and conditions by constant values.
|
protected IAddon |
MReturnStatementOptimizer.doBeforeChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Does nothing.
|
protected IAddon |
AbstractRecursiveOptimizer.pOptimizeRecursively(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Recursive method allowing to browse addon hierarchy.
|
Modifier and Type | Method and Description |
---|---|
protected abstract IAddon |
AbstractRecursiveOptimizer.doAfterChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Hook called by
AbstractRecursiveOptimizer.pOptimizeRecursively(ICompilationContext, IAddon, PersistantPropertyInfo, IAddon) after browsing all sub addons. |
protected IAddon |
MExpressionOptimizer.doAfterChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Performs optimization.
|
protected IAddon |
MDeduplicationOptimizer.doAfterChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Does nothing.
|
protected IAddon |
MConstantOptimizer.doAfterChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Does nothing.
|
protected IAddon |
MReturnStatementOptimizer.doAfterChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Does nothing.
|
protected abstract IAddon |
AbstractRecursiveOptimizer.doBeforeChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Hook called by
AbstractRecursiveOptimizer.pOptimizeRecursively(ICompilationContext, IAddon, PersistantPropertyInfo, IAddon) before browsing all sub addons. |
protected IAddon |
MExpressionOptimizer.doBeforeChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Does nothing.
|
protected IAddon |
MDeduplicationOptimizer.doBeforeChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Deduplicates before children parsing.
|
protected IAddon |
MConstantOptimizer.doBeforeChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Replaces eligible Read Accessors and conditions by constant values.
|
protected IAddon |
MReturnStatementOptimizer.doBeforeChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Does nothing.
|
void |
IMOptimizerChain.optimize(ICompilationContext ctxt,
IAddon rootAddon)
Computes global optimization chain on provided addon.
|
void |
AbstractOptimizer.optimize(ICompilationContext ctxt,
IAddon rootAddon)
Checks activation and delegated optimization to
AbstractOptimizer.pOptimize(ICompilationContext, IAddon) . |
void |
MOptimizerChain.optimize(ICompilationContext ctxt,
IAddon rootAddon)
Runs optimization chain.
|
void |
IMOptimizer.optimize(ICompilationContext ctxt,
IAddon rootAddon)
Computes global optimization on provided addon.
|
protected void |
AbstractRecursiveOptimizer.pOptimize(ICompilationContext ctxt,
IAddon addon)
Intermediate method between optimizer's entry point and recursive method, allowing for example
to implement easily multi-pass optimizers.
|
protected abstract void |
AbstractOptimizer.pOptimize(ICompilationContext ctxt,
IAddon addon)
Performs optimization.
|
protected void |
MExpressionOptimizer.pOptimize(ICompilationContext ctxt,
IAddon addon)
Optimizes an addon hierarchy by searching and simplifying logical expression.
|
protected void |
MSpecificAddonOptimizeOptimizer.pOptimize(ICompilationContext ctxt,
IAddon rootAddon) |
protected void |
MDeduplicationOptimizer.pOptimize(ICompilationContext ctxt,
IAddon addon)
Initializes context data.
|
protected void |
MReturnStatementOptimizer.pOptimize(ICompilationContext ctxt,
IAddon addon) |
protected void |
AbstractRecursiveOptimizer.pOptimizeInCollection(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
Collection<Object> propValues)
Allows to parse a collection and call
AbstractRecursiveOptimizer.pOptimizeRecursively(ICompilationContext, IAddon, PersistantPropertyInfo, IAddon) on all addons it contains. |
protected void |
MReturnStatementOptimizer.pOptimizeInCollection(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
Collection<Object> propValues)
Checks the addons collection to check that the return statement is in last position.
|
protected void |
AbstractRecursiveOptimizer.pOptimizeInMap(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
Map<Object,Object> propValues)
Allows to parse a map and call
AbstractRecursiveOptimizer.pOptimizeRecursively(ICompilationContext, IAddon, PersistantPropertyInfo, IAddon) on all addons it contains in values. |
protected IAddon |
AbstractRecursiveOptimizer.pOptimizeRecursively(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Recursive method allowing to browse addon hierarchy.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IMruleExecutionSet
Deprecated.
This interface is replaced by
IMRuleExecutionSet and will be removed
in the next MRules release. |
interface |
IMRuleExecutionSet
This interface adds an abstraction level between Core Addon implementation and
factories / builder input / output methods.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMRuleExecutionSet
This class provides common base for several ruleset implementations.
|
class |
MRuleExecutionSet
Master Class and Entry point of the Engine.
|
class |
MRuleExecutionSetWrapper |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
AbstractMRuleExecutionSet.wasRegistered(ICompilationContext ctxt,
IAddon parent,
AddonInfo info)
Does nothing.
|
boolean |
MRuleExecutionSetWrapper.wasRegistered(ICompilationContext ctxt,
IAddon parent,
AddonInfo info) |
Modifier and Type | Method and Description |
---|---|
static boolean |
AddonConverter.isConvertibleToString(IAddon addon)
Tells if this specific Addon instance can be converted to a parseable String.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleProperty2.parentWasRegistered(ICompilationContext ctxt,
IAddon parent) |
void |
IProperty2.parentWasRegistered(ICompilationContext ctxt,
IAddon parent)
Notifies this property that the owner has been registered in compilation context.
|
void |
MappedProperty2.parentWasRegistered(ICompilationContext ctxt,
IAddon parent) |
void |
StaticFieldProperty2.parentWasRegistered(ICompilationContext ctxt,
IAddon parent) |
void |
GlobalVarProperty.parentWasRegistered(ICompilationContext ctxt,
IAddon parent) |
void |
LocalVarProperty.parentWasRegistered(ICompilationContext ctxt,
IAddon parent) |
void |
StaticMethodProperty2.parentWasRegistered(ICompilationContext ctxt,
IAddon parent) |
void |
StrictMethodProperty2.parentWasRegistered(ICompilationContext ctxt,
IAddon parent) |
void |
ConstantProperty2.parentWasRegistered(ICompilationContext ctxt,
IAddon parent) |
void |
NestedProperty2.parentWasRegistered(ICompilationContext ctxt,
IAddon parent) |
void |
IndexedProperty2.parentWasRegistered(ICompilationContext ctxt,
IAddon parent) |
void |
StrictFieldProperty2.parentWasRegistered(ICompilationContext ctxt,
IAddon parent) |