org.drools.planner.core.termination
Class AbstractCompositeTermination
java.lang.Object
org.drools.planner.core.solver.event.SolverLifecycleListenerAdapter
org.drools.planner.core.phase.event.SolverPhaseLifecycleListenerAdapter
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 SolverLifecycleListenerAdapter
phaseStarted
public void phaseStarted(AbstractSolverPhaseScope phaseScope)
- Specified by:
phaseStarted
in interface SolverPhaseLifecycleListener
- Overrides:
phaseStarted
in class SolverPhaseLifecycleListenerAdapter
stepStarted
public void stepStarted(AbstractStepScope stepScope)
- Specified by:
stepStarted
in interface SolverPhaseLifecycleListener
- Overrides:
stepStarted
in class SolverPhaseLifecycleListenerAdapter
stepEnded
public void stepEnded(AbstractStepScope stepScope)
- Specified by:
stepEnded
in interface SolverPhaseLifecycleListener
- Overrides:
stepEnded
in class SolverPhaseLifecycleListenerAdapter
phaseEnded
public void phaseEnded(AbstractSolverPhaseScope phaseScope)
- Specified by:
phaseEnded
in interface SolverPhaseLifecycleListener
- Overrides:
phaseEnded
in class SolverPhaseLifecycleListenerAdapter
solvingEnded
public void solvingEnded(DefaultSolverScope solverScope)
- Specified by:
solvingEnded
in interface SolverLifecycleListener
- Overrides:
solvingEnded
in class SolverLifecycleListenerAdapter
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.