- 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
The
Startable.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.RunningPropertyNested classes/interfaces inherited from interface org.refcodes.component.Startable
Startable.StartAutomaton, Startable.StartBuilder<B extends Startable.StartBuilder<B>>, Startable.UncheckedStartable -
Method Summary
Modifier and Type Method Description booleanisStartable()Determines whether the component may get started.Methods inherited from interface org.refcodes.component.RunningAccessor
isRunningMethods inherited from interface org.refcodes.component.Startable
start, startUnchecked
-
Method Details
-
isStartable
boolean isStartable()Determines whether the component may get started.- Returns:
- True if
Startable.start()is possible.
-