CompositeComponent
, CompositeComponent.ExtendedCompositeComponent<CTX,CON>
, ConfigurableLifeCycleComponent<CTX>
, ConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomaton<CTX>
, LifeCycleComponent
, LifeCycleComponent.LifeCycleAutomaton
, LifeCycleComponent.UncheckedLifeCycleComponent
, Pausable.PauseAutomaton
, Pausable.UncheckedPausable
CompositeComponentImpl
, CompositeComponentImpl.ExtendedCompositeComponentImpl
, ConfigurableLifeCycleAutomatonImpl
, LifeCycleAutomatonImpl
, LifeCycleAutomatonImpl.ManualLifeCycleAutomatonImpl
public interface Pausable
Modifier and Type | Interface | Description |
---|---|---|
static interface |
Pausable.PauseAutomaton |
The
Pausable.PauseAutomaton interface defines those methods related to the
pause life-cycle. |
static interface |
Pausable.PauseBuilder<B extends Pausable.PauseBuilder<B>> |
To enable the
Pausable functionality to be invoked in a builder
chain. |
static interface |
Pausable.UncheckedPausable |
See
Pausable without any checked exception being declared. |
Modifier and Type | Method | Description |
---|---|---|
void |
pause() |
Pauses the component.
|
default void |
pauseUnchecked() |
Pauses the component by calling
pause() without you to require
catching an PauseException . |
void pause() throws PauseException
PauseException
- in case pausing fails.default void pauseUnchecked()
pause()
without you to require
catching an PauseException
.PauseException.PauseRuntimeException
- encapsulates the cause and is thrown upon
encountering a PauseException
exceptionCopyright © 2018. All rights reserved.