-
- All Superinterfaces:
Pausable
- All Known Subinterfaces:
ConfigurableLifecycleComponent.ConfigurableLifecycleAutomaton<CTX>
,LifecycleComponent.LifecycleAutomaton
- All Known Implementing Classes:
ConfigurableLifecycleAutomatonImpl
,LifecycleAutomatonImpl
,LifecycleAutomatonImpl.ManualLifecycleAutomatonImpl
- Enclosing interface:
- Pausable
public static interface Pausable.PauseAutomaton extends Pausable
ThePausable.PauseAutomaton
interface defines those methods related to the pause life-cycle.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.component.Pausable
Pausable.PauseAutomaton, Pausable.PauseBuilder<B extends Pausable.PauseBuilder<B>>, Pausable.UncheckedPausable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isPausable()
Determines whether the component may get paused.boolean
isPaused()
Determines whether the component is paused.-
Methods inherited from interface org.refcodes.component.Pausable
pause, pauseUnchecked
-
-
-
-
Method Detail
-
isPausable
boolean isPausable()
Determines whether the component may get paused.- Returns:
- True if
Pausable.pause()
is possible.
-
isPaused
boolean isPaused()
Determines whether the component is paused.- Returns:
- True in case of being paused, else false.
-
-