Class DefaultCustomPhase<Solution_>
java.lang.Object
org.optaplanner.core.impl.phase.AbstractPhase<Solution_>
org.optaplanner.core.impl.phase.custom.DefaultCustomPhase<Solution_>
- Type Parameters:
 Solution_- the solution type, the class with thePlanningSolutionannotation
- All Implemented Interfaces:
 EventListener,CustomPhase<Solution_>,PhaseLifecycleListener<Solution_>,Phase<Solution_>,SolverLifecycleListener<Solution_>
public class DefaultCustomPhase<Solution_>
extends AbstractPhase<Solution_>
implements CustomPhase<Solution_>
Default implementation of 
CustomPhase.- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsFields inherited from class org.optaplanner.core.impl.phase.AbstractPhase
assertExpectedStepScore, assertShadowVariablesAreNotStaleAfterStep, assertStepScoreFromScratch, logger, logIndentation, phaseIndex, phaseLifecycleSupport, phaseTermination, solver - 
Method Summary
Modifier and TypeMethodDescriptionvoidphaseEnded(CustomPhaseScope<Solution_> phaseScope) voidphaseStarted(CustomPhaseScope<Solution_> phaseScope) voidsolve(SolverScope<Solution_> solverScope) voidstepEnded(CustomStepScope<Solution_> stepScope) voidstepStarted(CustomStepScope<Solution_> stepScope) Methods inherited from class org.optaplanner.core.impl.phase.AbstractPhase
addPhaseLifecycleListener, assertWorkingSolutionInitialized, calculateWorkingStepScore, getPhaseIndex, getPhaseTermination, getSolver, isAssertExpectedStepScore, isAssertShadowVariablesAreNotStaleAfterStep, isAssertStepScoreFromScratch, phaseEnded, phaseStarted, predictWorkingStepScore, removePhaseLifecycleListener, setSolver, solvingEnded, solvingStarted, stepEnded, stepStartedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.optaplanner.core.impl.phase.Phase
addPhaseLifecycleListener, removePhaseLifecycleListenerMethods inherited from interface org.optaplanner.core.impl.phase.event.PhaseLifecycleListener
phaseEnded, phaseStarted, stepEnded, stepStartedMethods inherited from interface org.optaplanner.core.impl.solver.event.SolverLifecycleListener
solvingEnded, solvingError, solvingStarted 
- 
Field Details
- 
customPhaseCommandList
 
 - 
 - 
Method Details
- 
getPhaseTypeString
- Specified by:
 getPhaseTypeStringin classAbstractPhase<Solution_>
 - 
solve
 - 
phaseStarted
 - 
stepStarted
 - 
stepEnded
 - 
phaseEnded
 
 -