-
- All Superinterfaces:
RunningAccessor
,Startable
- All Known Subinterfaces:
ConfigurableLifecycleComponent.ConfigurableLifecycleAutomaton<CTX>
,LifecycleComponent.LifecycleAutomaton
- All Known Implementing Classes:
ConfigurableLifecycleAutomatonImpl
,LifecycleAutomatonImpl
,LifecycleAutomatonImpl.ManualLifecycleAutomatonImpl
- Enclosing interface:
- Startable
public static interface Startable.StartAutomaton extends Startable, RunningAccessor
TheStartable.StartAutomaton
interface defines those methods related to the start life-cycle.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.component.RunningAccessor
RunningAccessor.RunningMutator, RunningAccessor.RunningProperty
-
Nested classes/interfaces inherited from interface org.refcodes.component.Startable
Startable.StartAutomaton, Startable.StartBuilder<B extends Startable.StartBuilder<B>>, Startable.UncheckedStartable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isStartable()
Determines whether the component may get started.-
Methods inherited from interface org.refcodes.component.RunningAccessor
isRunning
-
Methods inherited from interface org.refcodes.component.Startable
start, startUnchecked
-
-
-
-
Method Detail
-
isStartable
boolean isStartable()
Determines whether the component may get started.- Returns:
- True if
Startable.start()
is possible.
-
-