Modifier and Type | Method and Description |
---|---|
protected Object |
AbstractReadAccessor.castToExpected(Object ret,
Class<?> expectedType,
Class<?> expectedGenericType)
Utility method allowing to cast result to what's expected.
|
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.
|
Class<?> |
MSubPartAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
MValuesAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
MMapKeysAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
MConcatenateAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
MSplitAccessor.getGenericCollectionType(IContext ctxt)
Returns requested generic type if any, otherwise the source's generic type if any.
|
Class<?> |
MMapEntriesAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
MTernaryAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
MVariablePropertyAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
MDateDiffAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
MIterateAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
MCoalesceAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
MSizeAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
IAccessor.getGenericCollectionType(IContext ctxt)
Returns the Generic type, if value is a collection or an array, evaluated :
at compilation time for standard compilation
at runtime for light compilation and execution phase
or null if the type can't be resolved or value is not a collection.
|
Class<?> |
MNewInstanceAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
AbstractReadSourceAccessor.getGenericCollectionType(IContext ctxt)
Returns requested generic type if any, otherwise the source's generic type if any.
|
Class<?> |
AbstractConditionWrapperAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
MFormatAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
MPropertyAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
AbstractExecutableWrapperAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
MValueAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
MMapValuesAccessor.getGenericCollectionType(IContext ctxt) |
Class<?> |
AbstractPropertyCheckAccessor.getGenericCollectionType(IContext ctxt) |
Class<?>[] |
MSubPartAccessor.getGenericTypes(IContext ctxt) |
Class<?>[] |
MTernaryAccessor.getGenericTypes(IContext ctxt) |
Class<?>[] |
AbstractReadAccessor.getGenericTypes(IContext ctxt)
By default, creates a 1 cell array with
IAccessor.getGenericCollectionType(IContext) return value if any,
or null if no value. |
Class<?>[] |
MNullIfEmptyAccessor.getGenericTypes(IContext ctxt) |
Class<?>[] |
MCoalesceAccessor.getGenericTypes(IContext ctxt) |
Class<?>[] |
IAccessor.getGenericTypes(IContext ctxt)
Returns all the parameterized types, whatever is the field type, evaluated :
at compilation time for standard compilation
at runtime for light compilation and execution phase
or null if the types can't be resolved or value is not a collection.
|
Class<?>[] |
MPropertyAccessor.getGenericTypes(IContext ctxt) |
Class<?> |
MSubPartAccessor.getType(IContext ctxt) |
Class<?> |
MValuesAccessor.getType(IContext ctxt) |
Class<?> |
MConcatenateAccessor.getType(IContext ctxt) |
Class<?> |
MSplitAccessor.getType(IContext ctxt)
Returns requested type if any, otherwise the source's type if any.
|
Class<?> |
MCountAccessor.getType(IContext ctxt) |
Class<?> |
MTernaryAccessor.getType(IContext ctxt) |
Class<?> |
MVariablePropertyAccessor.getType(IContext ctxt) |
Class<?> |
MDateDiffAccessor.getType(IContext ctxt) |
Class<?> |
MIterateAccessor.getType(IContext ctxt) |
Class<?> |
MCoalesceAccessor.getType(IContext ctxt) |
Class<?> |
AbstractMapAccessor.getType(IContext ctxt) |
Class<?> |
MSizeAccessor.getType(IContext ctxt) |
Class<?> |
IAccessor.getType(IContext ctxt)
Returns the value's class, evaluated :
at compilation time for standard compilation
at runtime for light compilation
or null if the type can't be resolved.
|
Class<?> |
MNewInstanceAccessor.getType(IContext ctxt) |
Class<?> |
AbstractReadSourceAccessor.getType(IContext ctxt)
Returns requested type if any, otherwise the source's type if any.
|
Class<?> |
AbstractConditionWrapperAccessor.getType(IContext ctxt) |
Class<?> |
MFormatAccessor.getType(IContext ctxt) |
Class<?> |
MPropertyAccessor.getType(IContext ctxt) |
Class<?> |
AbstractExecutableWrapperAccessor.getType(IContext ctxt) |
Class<?> |
MValueAccessor.getType(IContext ctxt) |
Class<?> |
AbstractPropertyCheckAccessor.getType(IContext 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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
DefaultVariablesManager.AbstractVariableAccessor.getGenericCollectionType(IContext ctxt) |
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) |
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 |
---|---|
Number |
IMathOperator.compute(IExecutionContext ctxt,
IReadAccessor left,
IReadAccessor right)
Evaluate result for this operator.
|
Number |
AbstractMathOperator.compute(IExecutionContext ctxt,
IReadAccessor left,
IReadAccessor right) |
protected Number |
AbstractMathOperator.compute(Number nleft,
Number nright)
Chooses between compute implementations.
|
protected Number |
POWER.redirectToBigDecimal(Number nleft,
Number nright)
Overriden for perf issues.
|
protected Number |
AbstractMathOperator.redirectToBigDecimal(Number nleft,
Number nright)
If no specific applicable implem of compute has been found, this method is called and default implem redirects to BigDecimal computation.
|
Modifier and Type | Method and Description |
---|---|
static Iterator<?> |
MRulesUtils.getIterator(Object value)
calls
MRulesUtils.getIterator(Object, boolean) with simulateForSingleValue at false. |
static Iterator<?> |
MRulesUtils.getIterator(Object value,
boolean simulateForSingleValue)
Gets an iterator over the provided object, which can be an array, an
Iterator , an Enumeration or an Iterable . |