org.optaplanner.examples.examination.domain.solver
Class PeriodUpdatingVariableListener
java.lang.Object
org.optaplanner.examples.examination.domain.solver.PeriodUpdatingVariableListener
- All Implemented Interfaces:
- VariableListener<LeadingExam>, Supply
public class PeriodUpdatingVariableListener
- extends Object
- implements VariableListener<LeadingExam>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeriodUpdatingVariableListener
public PeriodUpdatingVariableListener()
beforeEntityAdded
public void beforeEntityAdded(ScoreDirector scoreDirector,
LeadingExam leadingExam)
- Specified by:
beforeEntityAdded
in interface VariableListener<LeadingExam>
afterEntityAdded
public void afterEntityAdded(ScoreDirector scoreDirector,
LeadingExam leadingExam)
- Specified by:
afterEntityAdded
in interface VariableListener<LeadingExam>
beforeVariableChanged
public void beforeVariableChanged(ScoreDirector scoreDirector,
LeadingExam leadingExam)
- Specified by:
beforeVariableChanged
in interface VariableListener<LeadingExam>
afterVariableChanged
public void afterVariableChanged(ScoreDirector scoreDirector,
LeadingExam leadingExam)
- Specified by:
afterVariableChanged
in interface VariableListener<LeadingExam>
beforeEntityRemoved
public void beforeEntityRemoved(ScoreDirector scoreDirector,
LeadingExam leadingExam)
- Specified by:
beforeEntityRemoved
in interface VariableListener<LeadingExam>
afterEntityRemoved
public void afterEntityRemoved(ScoreDirector scoreDirector,
LeadingExam leadingExam)
- Specified by:
afterEntityRemoved
in interface VariableListener<LeadingExam>
updatePeriod
protected void updatePeriod(ScoreDirector scoreDirector,
LeadingExam leadingExam)
Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.