Class StringLengthVariableListener
java.lang.Object
ai.timefold.solver.quarkus.it.devui.domain.StringLengthVariableListener
- All Implemented Interfaces:
ai.timefold.solver.core.api.domain.variable.AbstractVariableListener<TestdataStringLengthShadowSolution,,TestdataStringLengthShadowEntity> ai.timefold.solver.core.api.domain.variable.VariableListener<TestdataStringLengthShadowSolution,,TestdataStringLengthShadowEntity> Closeable,AutoCloseable
public class StringLengthVariableListener
extends Object
implements ai.timefold.solver.core.api.domain.variable.VariableListener<TestdataStringLengthShadowSolution,TestdataStringLengthShadowEntity>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterEntityAdded(ai.timefold.solver.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity) voidafterEntityRemoved(ai.timefold.solver.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity) voidafterVariableChanged(ai.timefold.solver.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity) voidbeforeEntityAdded(ai.timefold.solver.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity) voidbeforeEntityRemoved(ai.timefold.solver.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity) voidbeforeVariableChanged(ai.timefold.solver.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ai.timefold.solver.core.api.domain.variable.AbstractVariableListener
close, resetWorkingSolutionMethods inherited from interface ai.timefold.solver.core.api.domain.variable.VariableListener
requiresUniqueEntityEvents
-
Constructor Details
-
StringLengthVariableListener
public StringLengthVariableListener()
-
-
Method Details
-
beforeEntityAdded
public void beforeEntityAdded(ai.timefold.solver.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity) - Specified by:
beforeEntityAddedin interfaceai.timefold.solver.core.api.domain.variable.AbstractVariableListener<TestdataStringLengthShadowSolution,TestdataStringLengthShadowEntity>
-
afterEntityAdded
public void afterEntityAdded(ai.timefold.solver.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity) - Specified by:
afterEntityAddedin interfaceai.timefold.solver.core.api.domain.variable.AbstractVariableListener<TestdataStringLengthShadowSolution,TestdataStringLengthShadowEntity>
-
beforeVariableChanged
public void beforeVariableChanged(ai.timefold.solver.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity) - Specified by:
beforeVariableChangedin interfaceai.timefold.solver.core.api.domain.variable.VariableListener<TestdataStringLengthShadowSolution,TestdataStringLengthShadowEntity>
-
afterVariableChanged
public void afterVariableChanged(ai.timefold.solver.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity) - Specified by:
afterVariableChangedin interfaceai.timefold.solver.core.api.domain.variable.VariableListener<TestdataStringLengthShadowSolution,TestdataStringLengthShadowEntity>
-
beforeEntityRemoved
public void beforeEntityRemoved(ai.timefold.solver.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity) - Specified by:
beforeEntityRemovedin interfaceai.timefold.solver.core.api.domain.variable.AbstractVariableListener<TestdataStringLengthShadowSolution,TestdataStringLengthShadowEntity>
-
afterEntityRemoved
public void afterEntityRemoved(ai.timefold.solver.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity) - Specified by:
afterEntityRemovedin interfaceai.timefold.solver.core.api.domain.variable.AbstractVariableListener<TestdataStringLengthShadowSolution,TestdataStringLengthShadowEntity>
-