Package | Description |
---|---|
com.massa.mrules.accessor | |
com.massa.mrules.accessor.arithmetic | |
com.massa.mrules.action | |
com.massa.mrules.addon | |
com.massa.mrules.extensions.jdk8.addon |
Modifier and Type | Interface and Description |
---|---|
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 |
---|---|
IAccessor |
IWriteAccessor.clone()
Clones the Accessor.
|
IAccessor |
IAccessor.clone() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractReadAccessor.compileRead(ICompilationContext ctxt,
IAccessor accessor) |
void |
IReadAccessor.compileRead(ICompilationContext ctxt,
IAccessor accessor)
Compiles this accessor to retrieve a value or a Collection, in order to conform to what the provided one awaits for.
|
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 |
AbstractSrcTgtAction<S extends IReadAccessor,T extends IAccessor>
Abstract layer for actions declaring a source and a target.
|
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 | 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.
|