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 | 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 | 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 | Interface and Description |
---|---|
interface |
IAddon
Implementations can be loaded via
ConfigDiscovery . |
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 | Class and Description |
---|---|
class |
AbstractAnonymousMRulesObject
Specific mother class for objects which must not have name, description or debugInfo.
|
class |
AbstractMRulesObject
Common mother class for all objects of the rule engine.
|
class |
MRuleExecutionSetMetadata |
Modifier and Type | Method and Description |
---|---|
IMRulesObject |
IMRulesObject.clone() |
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 | 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 | 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 |
---|---|
MRulesExceptionInfoBlock |
MRulesExceptionInfoBlock.clone(IMRulesObject o)
Clones and updates clone info with provided IMRulesObject information.
|
static String |
MRulesExceptionInfoBlock.computeMessage(MessageInfo messageCode,
IMRulesObject o,
Exception cause)
Computes Exception standard message from message info, original concerned object (for name and / or debug infos)and cause.
|
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 | 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 | Method and Description |
---|---|
protected String |
AbstractXMLFactory.handleRuleEngineObject(Node node,
IMRulesObject obj,
boolean nameMandatory) |
protected void |
AbstractXMLFactory.updateDebugInfos(Node node,
IMRulesObject obj) |
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 | Class and Description |
---|---|
class |
AbstractMRuleSession
Base class for rule sessions specified in JSR94.
|
class |
MStatefulRuleSession
MRules Stateful session implementation.
|
class |
MStatelessRuleSession
MRules Stateless session implementation.
|
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 |
LocalImportHolder
Encapsulates a local import in a ruleset, in order to preserve debug info.
|
class |
MRuleExecutionSet
Master Class and Entry point of the Engine.
|
class |
MRuleExecutionSetWrapper |