Class VariableListenerSupport<Solution_>

    • Method Detail

      • linkVariableListeners

        public void linkVariableListeners()
      • demand

        public <Supply_ extends Supply> Supply_ demand​(Demand<Supply_> demand)
        Description copied from interface: SupplyManager
        Returns the Supply for a Demand, preferably an existing one. If the Supply doesn't exist yet (as part of the domain model or externalized), it creates and attaches it.
        Specified by:
        demand in interface SupplyManager
        Type Parameters:
        Supply_ - Subclass of Supply
        demand - never null
        never null
      • resetWorkingSolution

        public void resetWorkingSolution()
      • close

        public void close()
      • triggerVariableListenersInNotificationQueues

        public void triggerVariableListenersInNotificationQueues()
      • createShadowVariablesViolationMessage

        public String createShadowVariablesViolationMessage()
        null if there are no violations
      • assertNotificationQueuesAreEmpty

        public void assertNotificationQueuesAreEmpty()