-
- All Superinterfaces:
Stoppable
- All Known Subinterfaces:
ConfigurableLifecycleComponent.ConfigurableLifecycleAutomaton<CTX>
,LifecycleComponent.LifecycleAutomaton
- All Known Implementing Classes:
ConfigurableLifecycleAutomatonImpl
,LifecycleAutomatonImpl
,LifecycleAutomatonImpl.ManualLifecycleAutomatonImpl
- Enclosing interface:
- Stoppable
public static interface Stoppable.StopAutomaton extends Stoppable
TheStoppable.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isStoppable()
Determines whether the component may get stopped.boolean
isStopped()
Determines whether the component is stopped.-
Methods inherited from interface org.refcodes.component.Stoppable
stop, stopUnchecked
-
-
-
-
Method Detail
-
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.
-
-