Interface VariableValueCopier.IAssignmentListener
- Enclosing class:
VariableValueCopier
public static interface VariableValueCopier.IAssignmentListener
Optional listener interface to generically track primary value assignments.
- Author:
- Holger Eichelberger
-
Method Summary
Modifier and TypeMethodDescriptionvoidnotifyAssigned(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 Details
-
notifyAssigned
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
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
-