org.drools.planner.core.termination
Class AbstractCompositeTermination
java.lang.Object
org.drools.planner.core.termination.AbstractTermination
org.drools.planner.core.termination.AbstractCompositeTermination
- All Implemented Interfaces:
- EventListener, SolverPhaseLifecycleListener, SolverLifecycleListener, Termination
- Direct Known Subclasses:
- AndCompositeTermination, OrCompositeTermination
public abstract class AbstractCompositeTermination
- extends AbstractTermination
- implements Termination
Abstract superclass for CompositeTermination classes that combine multiple Terminations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
terminationList
protected List<Termination> terminationList
AbstractCompositeTermination
public AbstractCompositeTermination()
AbstractCompositeTermination
public AbstractCompositeTermination(Termination... terminations)
setTerminationList
public void setTerminationList(List<Termination> terminationList)
solvingStarted
public void solvingStarted(DefaultSolverScope solverScope)
- Specified by:
solvingStarted
in interface SolverLifecycleListener
- Overrides:
solvingStarted
in class AbstractTermination
phaseStarted
public void phaseStarted(AbstractSolverPhaseScope solverPhaseScope)
- Specified by:
phaseStarted
in interface SolverPhaseLifecycleListener
- Overrides:
phaseStarted
in class AbstractTermination
beforeDeciding
public void beforeDeciding(AbstractStepScope stepScope)
- Specified by:
beforeDeciding
in interface SolverPhaseLifecycleListener
- Overrides:
beforeDeciding
in class AbstractTermination
stepDecided
public void stepDecided(AbstractStepScope stepScope)
- Specified by:
stepDecided
in interface SolverPhaseLifecycleListener
- Overrides:
stepDecided
in class AbstractTermination
stepTaken
public void stepTaken(AbstractStepScope stepScope)
- Specified by:
stepTaken
in interface SolverPhaseLifecycleListener
- Overrides:
stepTaken
in class AbstractTermination
phaseEnded
public void phaseEnded(AbstractSolverPhaseScope solverPhaseScope)
- Specified by:
phaseEnded
in interface SolverPhaseLifecycleListener
- Overrides:
phaseEnded
in class AbstractTermination
solvingEnded
public void solvingEnded(DefaultSolverScope solverScope)
- Specified by:
solvingEnded
in interface SolverLifecycleListener
- Overrides:
solvingEnded
in class AbstractTermination
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.