H
- The type of the handle.public static interface PausableHandle.PauseAutomatonHandle<H> extends PausableHandle<H>
PausableHandle.PauseAutomatonHandle
interface defines those methods related
to the handle based pause life-cycle.
The handle reference requires the Pausable.PauseAutomaton
interface to be
implemented.PausableHandle.PauseAutomatonHandle<H>
Modifier and Type | Method and Description |
---|---|
boolean |
hasPauseAutomaton(H aHandle)
Determines whether the handle reference is pausable by implementing
the
Pausable.PauseAutomaton interface. |
boolean |
isPausable(H aHandle)
Determines whether the component identified by the given handle may
get paused.
|
boolean |
isPaused(H aHandle)
Determines whether the component identified by the given handle is
paused.
|
hasPausable, pause
boolean hasPauseAutomaton(H aHandle) throws UnknownHandleRuntimeException
Pausable.PauseAutomaton
interface.aHandle
- The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException
- in case the handle is unknown.boolean isPausable(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle
- The handle identifying the component.PausableHandle.pause(Object)
is possible.UnsupportedHandleOperationRuntimeException
- in case the
reference of the handle does not support the requested
operation.UnknownHandleRuntimeException
- in case the given handle is
unknown.boolean isPaused(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle
- The handle identifying the component.UnsupportedHandleOperationRuntimeException
- in case the
reference of the handle does not support the requested
operation.UnknownHandleRuntimeException
- in case the given handle is
unknown.Copyright © 2016. All rights reserved.