Modifier and Type | Method and Description |
---|---|
ICondition |
MSearchAccessor.getCondition() |
ICondition |
AbstractConditionWrapperAccessor.getCondition() |
Modifier and Type | Method and Description |
---|---|
List<ICondition> |
MConditionsCountAccessor.getConditions() |
Modifier and Type | Method and Description |
---|---|
void |
MSearchAccessor.setCondition(ICondition condition) |
void |
AbstractConditionWrapperAccessor.setCondition(ICondition condition) |
Modifier and Type | Method and Description |
---|---|
void |
MConditionsCountAccessor.setConditions(List<ICondition> conditions) |
Constructor and Description |
---|
AbstractConditionWrapperAccessor(ICondition condition) |
Max(IReadAccessor source,
ICondition condition) |
MConditionWrapperAccessor(ICondition condition) |
MCountAccessor(IReadAccessor source,
ICondition condition) |
MFilterAccessor(IReadAccessor source,
ICondition condition) |
Min(IReadAccessor source,
ICondition condition) |
MMinMaxAccessor(IReadAccessor source,
ICondition condition) |
MSearchAccessor(IReadAccessor source,
ICondition condition) |
MTernaryAccessor(ICondition condition) |
MTernaryAccessor(ICondition condition,
IReadAccessor ifTrue,
IReadAccessor ifFalse) |
Constructor and Description |
---|
MConditionsCountAccessor(List<ICondition> conditions) |
Modifier and Type | Method and Description |
---|---|
ICondition |
MArithmeticAccessor.getCondition() |
Modifier and Type | Method and Description |
---|---|
void |
MArithmeticAccessor.setCondition(ICondition condition) |
Modifier and Type | Interface and Description |
---|---|
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 |
---|---|
ICondition |
ICondition.clone()
Clones the Condition.
|
ICondition |
MConditionSet.combine(ILogicalOperator otherOperator,
ICondition otherCondition)
Combines the current condition set with the other condition using the other operator.
|
ICondition |
ICondition.combine(ILogicalOperator operator,
ICondition condition)
Creates a new ICondition combining the result of the current one with the other provided one, using
the provided operator.
|
ICondition |
AbstractCondition.combine(ILogicalOperator operator,
ICondition condition)
Combines using MConditionSet.
|
protected ICondition |
AbstractCondition.combineToNewSet(ILogicalOperator operator,
ICondition condition)
Combines using a newly created MConditionSet.
|
ICondition |
MConditionNot.getCondition() |
Modifier and Type | Method and Description |
---|---|
List<ICondition> |
MConditionSet.getConditions() |
Iterator<ICondition> |
MConditionSet.iterator() |
Modifier and Type | Method and Description |
---|---|
ICondition |
MConditionSet.combine(ILogicalOperator otherOperator,
ICondition otherCondition)
Combines the current condition set with the other condition using the other operator.
|
ICondition |
ICondition.combine(ILogicalOperator operator,
ICondition condition)
Creates a new ICondition combining the result of the current one with the other provided one, using
the provided operator.
|
ICondition |
AbstractCondition.combine(ILogicalOperator operator,
ICondition condition)
Combines using MConditionSet.
|
protected ICondition |
AbstractCondition.combineToNewSet(ILogicalOperator operator,
ICondition condition)
Combines using a newly created MConditionSet.
|
protected ConditionEquivalence |
MConditionSet.internalIsEquivalent(ICondition o) |
protected abstract ConditionEquivalence |
AbstractCondition.internalIsEquivalent(ICondition o)
Called by
AbstractCondition.internalIsEquivalent(ICondition) if the other condition is not an instance of MConditionNot . |
protected ConditionEquivalence |
AbstractAccessorWrapperCondition.internalIsEquivalent(ICondition o) |
protected ConditionEquivalence |
MHardCodedCondition.internalIsEquivalent(ICondition o) |
protected ConditionEquivalence |
MConditionNot.internalIsEquivalent(ICondition o) |
protected ConditionEquivalence |
MEvaluationCondition.internalIsEquivalent(ICondition o) |
ConditionEquivalence |
ICondition.isEquivalent(ICondition o)
Tells if this condition is strictly equivalent or a strict negation of the other provided condition.
|
ConditionEquivalence |
AbstractCondition.isEquivalent(ICondition o)
Handles the facts that provided condition is null or an instance of
MConditionNot . |
ConditionEquivalence |
MConditionNot.isEquivalent(ICondition o) |
void |
MConditionNot.setCondition(ICondition condition) |
Modifier and Type | Method and Description |
---|---|
void |
MConditionSet.setConditions(List<ICondition> conditions) |
Constructor and Description |
---|
MConditionNot(ICondition condition) |
Constructor and Description |
---|
MConditionSet(boolean not,
ILogicalOperator operator,
List<ICondition> conditions) |
MConditionSet(ILogicalOperator operator,
List<ICondition> conditions)
not defaults to false.
|
Modifier and Type | Method and Description |
---|---|
ICondition |
MRule.getCondition() |
ICondition |
MRule.ElseIf.getCondition() |
Modifier and Type | Method and Description |
---|---|
void |
MRule.setCondition(ICondition conditions) |
void |
MRule.ElseIf.setCondition(ICondition condition) |
Constructor and Description |
---|
MRule(ICondition condition,
List<IExecutable> thens)
Constructor without thens
|
MRule(ICondition condition,
List<IExecutable> thens,
List<IExecutable> elses)
Complete constructor
|
Modifier and Type | Field and Description |
---|---|
(package private) ICondition |
ConditionBuilder.SubCondition.condition |
Modifier and Type | Method and Description |
---|---|
ICondition |
ConditionBuilder.build() |
ICondition |
ConditionBuilder.getCondition() |
ICondition |
ConditionBuilder.Sub.getCondition() |
ICondition |
ConditionBuilder.SubCondition.getCondition() |
ICondition |
ConditionBuilder.SubConditionBuilder.getCondition() |
Modifier and Type | Method and Description |
---|---|
void |
ConditionBuilder.setCondition(ICondition condition) |
void |
ConditionBuilder.SubCondition.setCondition(ICondition condition) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractLogicalOperator.compile(ICompilationContext ctxt,
Iterable<ICondition> conditions)
Does nothing except logging in basic implementation
|
void |
ILogicalOperator.compile(ICompilationContext ctxt,
Iterable<ICondition> conditions)
For additional validations, specific to this operator.
|
protected void |
AbstractLogicalOperator.compileOperator(ICompilationContext ctxt,
Iterable<ICondition> conditions)
Does nothing in basic implementation
|
boolean |
VALBETWEEN.evaluate(IExecutionContext ctxt,
Iterable<ICondition> conditions) |
boolean |
OR.evaluate(IExecutionContext ctxt,
Iterable<ICondition> conditions) |
boolean |
XOR.evaluate(IExecutionContext ctxt,
Iterable<ICondition> conditions) |
boolean |
AND.evaluate(IExecutionContext ctxt,
Iterable<ICondition> conditions) |
boolean |
ILogicalOperator.evaluate(IExecutionContext ctxt,
Iterable<ICondition> conditions)
Evaluate result for this operator.
|