Interface Pausable.PauseAutomaton
- 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 Pausable
Pausable.PauseAutomaton, Pausable.PauseBuilder<B>, Pausable.UncheckedPausable -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether the component may get paused.booleanisPaused()Determines whether the component is paused.Methods inherited from interface 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.
-