public interface PhaseRunnableManager
Modifier and Type | Method and Description |
---|---|
void |
addPhaseExecutable(PhaseRunnable phaseRunnable,
ExecutionPhase phase,
boolean recurring)
Add a PhaseRunnable to be run in one of the phases designated for such executions
|
List<PhaseRunnable> |
getPhaseExecutables(ExecutionPhase phase) |
boolean |
isRecurring(PhaseRunnable phaseRunnable,
ExecutionPhase phase) |
void |
removePhaseExecutable(PhaseRunnable phaseRunnable,
ExecutionPhase phase)
Remove an element from the phase executable elements
|
List<PhaseRunnable> getPhaseExecutables(ExecutionPhase phase)
boolean isRecurring(PhaseRunnable phaseRunnable, ExecutionPhase phase)
void addPhaseExecutable(PhaseRunnable phaseRunnable, ExecutionPhase phase, boolean recurring)
element
- the element to executephase
- the phase before which the element should be executedrecurring
- whether this is a one-off execution or should be executed several timesvoid removePhaseExecutable(PhaseRunnable phaseRunnable, ExecutionPhase phase)
Copyright © 2013. All Rights Reserved.