Class StartTimeUpdatingVariableListener
- java.lang.Object
-
- org.optaplanner.examples.taskassigning.domain.solver.StartTimeUpdatingVariableListener
-
- All Implemented Interfaces:
Closeable,AutoCloseable,org.optaplanner.core.api.domain.variable.VariableListener<Task>,org.optaplanner.core.impl.domain.variable.listener.VariableListener<Task>,org.optaplanner.core.impl.domain.variable.supply.Supply
public class StartTimeUpdatingVariableListener extends Object implements org.optaplanner.core.impl.domain.variable.listener.VariableListener<Task>
-
-
Constructor Summary
Constructors Constructor Description StartTimeUpdatingVariableListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterEntityAdded(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Task task)voidafterEntityRemoved(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Task task)voidafterVariableChanged(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Task task)voidbeforeEntityAdded(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Task task)voidbeforeEntityRemoved(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Task task)voidbeforeVariableChanged(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Task task)protected voidupdateStartTime(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Task sourceTask)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
beforeEntityAdded
public void beforeEntityAdded(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Task task)
-
afterEntityAdded
public void afterEntityAdded(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Task task)
-
beforeVariableChanged
public void beforeVariableChanged(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Task task)
-
afterVariableChanged
public void afterVariableChanged(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Task task)
-
beforeEntityRemoved
public void beforeEntityRemoved(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Task task)
-
afterEntityRemoved
public void afterEntityRemoved(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Task task)
-
updateStartTime
protected void updateStartTime(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, Task sourceTask)
-
-