Class PredecessorsDoneDateUpdatingVariableListener

    • Constructor Detail

      • PredecessorsDoneDateUpdatingVariableListener

        public PredecessorsDoneDateUpdatingVariableListener()
    • Method Detail

      • beforeEntityAdded

        public void beforeEntityAdded​(org.optaplanner.core.api.score.director.ScoreDirector<BatchSchedule> scoreDirector,
                                      Allocation allocation)
        Specified by:
        beforeEntityAdded in interface org.optaplanner.core.api.domain.variable.VariableListener<BatchSchedule,​Allocation>
      • afterEntityAdded

        public void afterEntityAdded​(org.optaplanner.core.api.score.director.ScoreDirector<BatchSchedule> scoreDirector,
                                     Allocation allocation)
        Specified by:
        afterEntityAdded in interface org.optaplanner.core.api.domain.variable.VariableListener<BatchSchedule,​Allocation>
      • beforeVariableChanged

        public void beforeVariableChanged​(org.optaplanner.core.api.score.director.ScoreDirector<BatchSchedule> scoreDirector,
                                          Allocation allocation)
        Specified by:
        beforeVariableChanged in interface org.optaplanner.core.api.domain.variable.VariableListener<BatchSchedule,​Allocation>
      • afterVariableChanged

        public void afterVariableChanged​(org.optaplanner.core.api.score.director.ScoreDirector<BatchSchedule> scoreDirector,
                                         Allocation allocation)
        Specified by:
        afterVariableChanged in interface org.optaplanner.core.api.domain.variable.VariableListener<BatchSchedule,​Allocation>
      • beforeEntityRemoved

        public void beforeEntityRemoved​(org.optaplanner.core.api.score.director.ScoreDirector<BatchSchedule> scoreDirector,
                                        Allocation allocation)
        Specified by:
        beforeEntityRemoved in interface org.optaplanner.core.api.domain.variable.VariableListener<BatchSchedule,​Allocation>
      • afterEntityRemoved

        public void afterEntityRemoved​(org.optaplanner.core.api.score.director.ScoreDirector<BatchSchedule> scoreDirector,
                                       Allocation allocation)
        Specified by:
        afterEntityRemoved in interface org.optaplanner.core.api.domain.variable.VariableListener<BatchSchedule,​Allocation>
      • updateAllocation

        protected void updateAllocation​(org.optaplanner.core.api.score.director.ScoreDirector<BatchSchedule> scoreDirector,
                                        Allocation arg1)