public class MEvaluationCondition.LiveCastCondition extends AbstractAnonymousAddon
Constructor and Description |
---|
LiveCastCondition() |
LiveCastCondition(IExecutionContext ctxt) |
LiveCastCondition(IExecutionContext ctxt,
Object sourceValue,
Object referenceValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(IExecutionContext ctxt)
Evaluates the result of the rule.
|
Class<?> |
getReferenceGenericType(IContext ctxt)
The reference generic type if known and applicable.
|
Class<?> |
getReferenceType(IContext ctxt)
The reference type.
|
Object |
getReferenceValue(IExecutionContext ctxt)
The reference value to evaluate against source value.
|
Class<?> |
getSourceGenericType(IContext ctxt)
The source generic type if known and applicable.
|
Class<?> |
getSourceType(IContext ctxt)
The source type.
|
Object |
getSourceValue(IExecutionContext ctxt)
The source value.
|
void |
update(IExecutionContext ctxt,
Object sv,
Object rv) |
getInternalCacheIdentifier, isCacheUsed, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, toString, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInternalCacheIdentifier, isCacheUsed, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
public LiveCastCondition()
public LiveCastCondition(IExecutionContext ctxt) throws MConditionEvaluationException
MConditionEvaluationException
public LiveCastCondition(IExecutionContext ctxt, Object sourceValue, Object referenceValue) throws MConditionEvaluationException
MConditionEvaluationException
public void update(IExecutionContext ctxt, Object sv, Object rv) throws MConditionEvaluationException
MConditionEvaluationException
public boolean evaluate(IExecutionContext ctxt) throws MConditionEvaluationException
ICondition
MConditionEvaluationException
public Object getSourceValue(IExecutionContext ctxt)
IEvaluationCondition
public Object getReferenceValue(IExecutionContext ctxt)
IEvaluationCondition
public Class<?> getSourceType(IContext ctxt) throws MConditionEvaluationException
IEvaluationCondition
MConditionEvaluationException
public Class<?> getReferenceType(IContext ctxt) throws MConditionEvaluationException
IEvaluationCondition
MConditionEvaluationException
public Class<?> getSourceGenericType(IContext ctxt) throws MConditionEvaluationException
IEvaluationCondition
MConditionEvaluationException
public Class<?> getReferenceGenericType(IContext ctxt) throws MConditionEvaluationException
IEvaluationCondition
MConditionEvaluationException