Interface Notifiable
-
- All Known Subinterfaces:
EntityNotifiable<Solution_>
public interface Notifiable
A notifiable’s purpose is to execute variable listener methods. This interface is the most generalized form of a notifiable. It covers variable listener methods that are executed immediately (AbstractVariableListener.resetWorkingSolution(org.optaplanner.core.api.score.director.ScoreDirector<Solution_>)
andAbstractVariableListener.close()
. Specialized notifiables useNotification
s to record planing variable changes and defer triggering of "after" methods so that dependent variable listeners can be executed in the correct order.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
closeVariableListener()
Close the variable listener.void
resetWorkingSolution()
Notify the variable listener about working solution reset.void
triggerAllNotifications()
Trigger all queued notifications.
-