Class StringLengthVariableListener
- java.lang.Object
-
- org.optaplanner.quarkus.benchmark.it.domain.StringLengthVariableListener
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.optaplanner.core.api.domain.variable.VariableListener<TestdataStringLengthShadowSolution,TestdataStringLengthShadowEntity>
public class StringLengthVariableListener extends Object implements org.optaplanner.core.api.domain.variable.VariableListener<TestdataStringLengthShadowSolution,TestdataStringLengthShadowEntity>
-
-
Constructor Summary
Constructors Constructor Description StringLengthVariableListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterEntityAdded(org.optaplanner.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity)
void
afterEntityRemoved(org.optaplanner.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity)
void
afterVariableChanged(org.optaplanner.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity)
void
beforeEntityAdded(org.optaplanner.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity)
void
beforeEntityRemoved(org.optaplanner.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity)
void
beforeVariableChanged(org.optaplanner.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity)
-
-
-
Method Detail
-
beforeEntityAdded
public void beforeEntityAdded(org.optaplanner.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity)
- Specified by:
beforeEntityAdded
in interfaceorg.optaplanner.core.api.domain.variable.VariableListener<TestdataStringLengthShadowSolution,TestdataStringLengthShadowEntity>
-
afterEntityAdded
public void afterEntityAdded(org.optaplanner.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity)
- Specified by:
afterEntityAdded
in interfaceorg.optaplanner.core.api.domain.variable.VariableListener<TestdataStringLengthShadowSolution,TestdataStringLengthShadowEntity>
-
beforeVariableChanged
public void beforeVariableChanged(org.optaplanner.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity)
- Specified by:
beforeVariableChanged
in interfaceorg.optaplanner.core.api.domain.variable.VariableListener<TestdataStringLengthShadowSolution,TestdataStringLengthShadowEntity>
-
afterVariableChanged
public void afterVariableChanged(org.optaplanner.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity)
- Specified by:
afterVariableChanged
in interfaceorg.optaplanner.core.api.domain.variable.VariableListener<TestdataStringLengthShadowSolution,TestdataStringLengthShadowEntity>
-
beforeEntityRemoved
public void beforeEntityRemoved(org.optaplanner.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity)
- Specified by:
beforeEntityRemoved
in interfaceorg.optaplanner.core.api.domain.variable.VariableListener<TestdataStringLengthShadowSolution,TestdataStringLengthShadowEntity>
-
afterEntityRemoved
public void afterEntityRemoved(org.optaplanner.core.api.score.director.ScoreDirector<TestdataStringLengthShadowSolution> scoreDirector, TestdataStringLengthShadowEntity entity)
- Specified by:
afterEntityRemoved
in interfaceorg.optaplanner.core.api.domain.variable.VariableListener<TestdataStringLengthShadowSolution,TestdataStringLengthShadowEntity>
-
-