- All Superinterfaces:
Pausable
- All Known Subinterfaces:
ConfigurableLifecycleComponent.ConfigurableLifecycleAutomaton<CTX>
,LifecycleComponent.LifecycleAutomaton
- All Known Implementing Classes:
ConfigurableLifecycleAutomatonImpl
,LifecycleMachine
,LifecycleMachine.ManualLifecycleMachine
- Enclosing interface:
- Pausable
The
Pausable.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
Modifier and TypeMethodDescriptionboolean
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 Details
-
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.
-