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_>) and AbstractVariableListener.close().

Specialized notifiables use Notifications to record planing variable changes and defer triggering of "after" methods so that dependent variable listeners can be executed in the correct order.
  • Method Details

    • resetWorkingSolution

      void resetWorkingSolution()
      Notify the variable listener about working solution reset.
    • triggerAllNotifications

      void triggerAllNotifications()
      Trigger all queued notifications.
    • closeVariableListener

      void closeVariableListener()
      Close the variable listener.