Class RockShowVariableListener

  • All Implemented Interfaces:
    Closeable, AutoCloseable, org.optaplanner.core.api.domain.variable.VariableListener<RockShow>, org.optaplanner.core.impl.domain.variable.listener.VariableListener<RockShow>, org.optaplanner.core.impl.domain.variable.supply.Supply

    public class RockShowVariableListener
    extends Object
    implements org.optaplanner.core.impl.domain.variable.listener.VariableListener<RockShow>
    • Constructor Detail

      • RockShowVariableListener

        public RockShowVariableListener()
    • Method Detail

      • beforeEntityAdded

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

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

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

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

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

        public void afterEntityRemoved​(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector,
                                       RockShow show)
        Specified by:
        afterEntityRemoved in interface org.optaplanner.core.api.domain.variable.VariableListener<RockShow>
        Specified by:
        afterEntityRemoved in interface org.optaplanner.core.impl.domain.variable.listener.VariableListener<RockShow>
      • updateDate

        protected void updateDate​(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector,
                                  RockShow sourceShow)