- All Superinterfaces:
Stoppable
- All Known Subinterfaces:
ConfigurableLifecycleComponent.ConfigurableLifecycleAutomaton<CTX>
,LifecycleComponent.LifecycleAutomaton
- All Known Implementing Classes:
ConfigurableLifecycleAutomatonImpl
,LifecycleMachine
,LifecycleMachine.ManualLifecycleMachine
- Enclosing interface:
- Stoppable
The
Stoppable.StopAutomaton
interface defines those methods related to the
stop life-cycle.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.component.Stoppable
Stoppable.StopAutomaton, Stoppable.StopBuilder<B extends Stoppable.StopBuilder<B>>, Stoppable.UncheckedStoppable
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines whether the component may get stopped.boolean
Determines whether the component is stopped.Methods inherited from interface org.refcodes.component.Stoppable
stop, stopUnchecked
-
Method Details
-
isStoppable
boolean isStoppable()Determines whether the component may get stopped.- Returns:
- True if
Stoppable.stop()
is possible.
-
isStopped
boolean isStopped()Determines whether the component is stopped.- Returns:
- True in case of being stopped, else false.
-