CompositeComponent
, CompositeComponent.ExtendedCompositeComponent<CTX,CON>
, ConfigurableLifeCycleComponent<CTX>
, ConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomaton<CTX>
, LifeCycleComponent
, LifeCycleComponent.LifeCycleAutomaton
, LifeCycleComponent.UncheckedLifeCycleComponent
, Resumable.ResumeAutomaton
, Resumable.UncheckedResumable
CompositeComponentImpl
, CompositeComponentImpl.ExtendedCompositeComponentImpl
, ConfigurableLifeCycleAutomatonImpl
, LifeCycleAutomatonImpl
, LifeCycleAutomatonImpl.ManualLifeCycleAutomatonImpl
public interface Resumable
Modifier and Type | Interface | Description |
---|---|---|
static interface |
Resumable.ResumeAutomaton |
The
Resumable.ResumeAutomaton interface defines those methods related to
the resume life-cycle. |
static interface |
Resumable.ResumeBuilder<B extends Resumable.ResumeBuilder<B>> |
To enable the
Resumable functionality to be invoked in a builder
chain. |
static interface |
Resumable.UncheckedResumable |
See
Resumable without any checked exception being declared. |
Modifier and Type | Method | Description |
---|---|---|
void |
resume() |
Resumes the component.
|
default void |
resumeUnchecked() |
Resumes the component by calling
resume() without you to require
catching an ResumeException . |
void resume() throws ResumeException
ResumeException
- Thrown in case resuming fails.default void resumeUnchecked()
resume()
without you to require
catching an ResumeException
.ResumeException.ResumeRuntimeException
- encapsulates the cause and is thrown upon
encountering a ResumeException
exceptionCopyright © 2018. All rights reserved.