- All Superinterfaces:
Resumable,RunningAccessor
- All Known Subinterfaces:
ConfigurableLifecycleComponent.ConfigurableLifecycleAutomaton<CTX>,LifecycleComponent.LifecycleAutomaton
- All Known Implementing Classes:
ConfigurableLifecycleAutomatonImpl,LifecycleMachine,LifecycleMachine.ManualLifecycleMachine
- Enclosing interface:
- Resumable
The
Resumable.ResumeAutomaton interface defines those methods related to
the resume life-cycle.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.component.Resumable
Resumable.ResumeAutomaton, Resumable.ResumeBuilder<B extends Resumable.ResumeBuilder<B>>, Resumable.UncheckedResumableNested classes/interfaces inherited from interface org.refcodes.component.RunningAccessor
RunningAccessor.RunningMutator, RunningAccessor.RunningProperty -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether the component may get resumed.Methods inherited from interface org.refcodes.component.Resumable
resume, resumeUncheckedMethods inherited from interface org.refcodes.component.RunningAccessor
isRunning
-
Method Details
-
isResumable
boolean isResumable()Determines whether the component may get resumed.- Returns:
- True if
Resumable.resume()is possible.
-