Interface VariableValueCopier.IAssignmentListener
-
- Enclosing class:
- VariableValueCopier
public static interface VariableValueCopier.IAssignmentListenerOptional listener interface to generically track primary value assignments.- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnotifyAssigned(IDecisionVariable target, Value value, boolean added)Notifies about assigned values.voidnotifyCreated(IDecisionVariable origin, IDecisionVariable target)Notifies the listener about a new variable created for a given origin variable.
-
-
-
Method Detail
-
notifyAssigned
void notifyAssigned(IDecisionVariable target, Value value, boolean added)
Notifies about assigned values.- Parameters:
target- the target variablevalue- the new valueadded- whether value is being added to a collection or set as the single absolute value
-
notifyCreated
void notifyCreated(IDecisionVariable origin, IDecisionVariable target)
Notifies the listener about a new variable created for a given origin variable. AnotifyAssigned(IDecisionVariable, Value, boolean)shall follow.- Parameters:
origin- the origin variabletarget- the new variable
-
-