Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.2.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.optaplanner.core.impl.phase.custom
Class DefaultCustomPhase

    java.lang.Object
      org.optaplanner.core.impl.phase.AbstractPhase
          org.optaplanner.core.impl.phase.custom.DefaultCustomPhase

All Implemented Interfaces:
  EventListener, CustomPhase, PhaseLifecycleListener, Phase, SolverLifecycleListener

    public class DefaultCustomPhase

extends AbstractPhase
implements CustomPhase

Default implementation of `CustomPhase`.

Field Summary
`protected List<CustomPhaseCommand>` | `customPhaseCommandList`
`protected boolean` | `forceUpdateBestSolution`

Fields inherited from class org.optaplanner.core.impl.phase.AbstractPhase
`bestSolutionRecaller, logger, phaseIndex, phaseLifecycleSupport, termination`

Constructor Summary
`DefaultCustomPhase()`

Method Summary
`void` | `phaseEnded(CustomPhaseScope phaseScope)`
`void` | `phaseStarted(CustomPhaseScope phaseScope)`
`void` | `setCustomPhaseCommandList(List<CustomPhaseCommand> customPhaseCommandList)`
`void` | `setForceUpdateBestSolution(boolean forceUpdateBestSolution)`
`void` | `solve(DefaultSolverScope solverScope)`
`void` | `stepEnded(CustomStepScope stepScope)`
`void` | `stepStarted(CustomStepScope stepScope)`

Methods inherited from class org.optaplanner.core.impl.phase.AbstractPhase
`addPhaseLifecycleListener, getPhaseIndex, getTermination, phaseEnded, phaseStarted, removePhaseLifecycleListener, setBestSolutionRecaller, setPhaseIndex, setTermination, solvingEnded, solvingStarted, stepEnded, stepStarted`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.optaplanner.core.impl.phase.Phase
`addPhaseLifecycleListener, removePhaseLifecycleListener`

Methods inherited from interface org.optaplanner.core.impl.phase.event.PhaseLifecycleListener
`phaseEnded, phaseStarted, stepEnded, stepStarted`

Methods inherited from interface org.optaplanner.core.impl.solver.event.SolverLifecycleListener
`solvingEnded, solvingStarted`

Field Detail

### customPhaseCommandList

    protected List<CustomPhaseCommand> customPhaseCommandList

### forceUpdateBestSolution

    protected boolean forceUpdateBestSolution

Constructor Detail

### DefaultCustomPhase

    public DefaultCustomPhase()

Method Detail

### setCustomPhaseCommandList

    public void setCustomPhaseCommandList(List<CustomPhaseCommand> customPhaseCommandList)

### setForceUpdateBestSolution

    public void setForceUpdateBestSolution(boolean forceUpdateBestSolution)

### solve

    public void solve(DefaultSolverScope solverScope)

  Specified by:
    `solve` in interface `Phase`

### phaseStarted

    public void phaseStarted(CustomPhaseScope phaseScope)

### stepStarted

    public void stepStarted(CustomStepScope stepScope)

### stepEnded

    public void stepEnded(CustomStepScope stepScope)

### phaseEnded

    public void phaseEnded(CustomPhaseScope phaseScope)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.2.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.