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 | 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 | 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 |
---|---|
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 |
---|---|
AbstractAddon |
AbstractAddon.clone() |
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 | 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 |
MHardCodedCondition
This implementation allows to specify a condition with a constant result.
|
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 | 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.
|
class |
MRule
A complete set of condition to evaluate and actions to perform according to evaluation result.
|
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 |
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 | 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 | 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
|