H
- The type of the handle.public interface PausableHandle<H>
PausableHandle
interface defines those methods related to the
handle based pause life-cycle.
The handle reference requires the Pausable
interface to be
implemented.
Modifier and Type | Interface and Description |
---|---|
static interface |
PausableHandle.PauseAutomatonHandle<H>
The
PausableHandle.PauseAutomatonHandle interface defines those methods related
to the handle based pause life-cycle. |
Modifier and Type | Method and Description |
---|---|
boolean |
hasPausable(H aHandle)
Determines whether the handle reference is pausable by implementing the
Pausable interface. |
void |
pause(H aHandle)
Pauses the component identified by the given handle.
|
boolean hasPausable(H aHandle) throws UnknownHandleRuntimeException
Pausable
interface.aHandle
- The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException
- in case the handle is unknown.void pause(H aHandle) throws PauseException, UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException, IllegaleHandleStateChangeRuntimeException
aHandle
- The handle identifying the component.PauseException
- in case pausing fails.UnsupportedHandleOperationRuntimeException
- in case the reference
of the handle does not support the requested operation.UnknownHandleRuntimeException
- in case the given handle is
unknown.IllegaleHandleStateChangeRuntimeException
- Thrown in case a state
change is not possible due to the current state the referenced
component is in.Copyright © 2015. All rights reserved.