Interface Notifiable
-
- All Known Subinterfaces:
EntityNotifiable<Solution_>
public interface NotifiableA 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(ai.timefold.solver.core.api.score.director.ScoreDirector<Solution_>)andAbstractVariableListener.close(). Specialized notifiables useNotifications 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 voidcloseVariableListener()Close the variable listener.voidresetWorkingSolution()Notify the variable listener about working solution reset.voidtriggerAllNotifications()Trigger all queued notifications.
-