public class XOR extends AbstractLogicalOperator
Constructor and Description |
---|
XOR() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(IExecutionContext ctxt,
Iterable<ICondition> conditions)
Evaluate result for this operator.
|
String |
getImplementationId()
Unique addon implementation ID.
|
String |
getRepresentation()
String representation for human read
|
int |
getWeight()
Return 300.
|
boolean |
isKeepConditionsOrder()
Overridden to return true, as conditions order might have influence on evaluation result.
|
clone, compile, compileOperator, equals, hashCode, isMergePossible, toString
getInternalCacheIdentifier, isCacheUsed, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, toString, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
finalize, getClass, notify, notifyAll, wait, wait, wait
getInternalCacheIdentifier, isCacheUsed, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
public static final String XOR_ID
public boolean evaluate(IExecutionContext ctxt, Iterable<ICondition> conditions) throws MConditionEvaluationException
ILogicalOperator
MConditionEvaluationException
public int getWeight()
public boolean isKeepConditionsOrder()
isKeepConditionsOrder
in interface ILogicalOperator
isKeepConditionsOrder
in class AbstractLogicalOperator
public String getRepresentation()
ILogicalOperator