Class VariableListenerNotifiable
- java.lang.Object
-
- org.optaplanner.core.impl.domain.variable.listener.support.VariableListenerNotifiable
-
- All Implemented Interfaces:
Comparable<VariableListenerNotifiable>
public class VariableListenerNotifiable extends Object implements Comparable<VariableListenerNotifiable>
-
-
Field Summary
Fields Modifier and Type Field Description protected intglobalOrderprotected Collection<VariableListenerNotification>notificationQueueprotected VariableListenervariableListener
-
Constructor Summary
Constructors Constructor Description VariableListenerNotifiable(VariableListener variableListener, int globalOrder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(VariableListenerNotifiable other)intgetGlobalOrder()Collection<VariableListenerNotification>getNotificationQueue()VariableListenergetVariableListener()StringtoString()
-
-
-
Field Detail
-
variableListener
protected final VariableListener variableListener
-
globalOrder
protected final int globalOrder
-
notificationQueue
protected final Collection<VariableListenerNotification> notificationQueue
-
-
Constructor Detail
-
VariableListenerNotifiable
public VariableListenerNotifiable(VariableListener variableListener, int globalOrder)
-
-
Method Detail
-
getVariableListener
public VariableListener getVariableListener()
-
getGlobalOrder
public int getGlobalOrder()
-
getNotificationQueue
public Collection<VariableListenerNotification> getNotificationQueue()
-
compareTo
public int compareTo(VariableListenerNotifiable other)
- Specified by:
compareToin interfaceComparable<VariableListenerNotifiable>
-
-