public interface Pausable
| Modifier and Type | Interface and 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 and 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.org.refcodes.exception.HiddenException - encapsulates the cause and is thrown upon
encountering a PauseException exceptionCopyright © 2018. All rights reserved.