H - The type of the handle.PausableHandle<H>CompositeComponentHandle<H,REF>, ConfigurableLifeCycleComponentHandle.ConfigurableLifeCycleAutomatonHandle<H,CTX>, LifeCycleComponentHandle.LifeCycleAutomatonHandle<H>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 | 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, pauseUncheckedboolean 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.UnknownHandleRuntimeException - in case the given handle is
unknown.UnsupportedHandleOperationRuntimeException - in case the
reference of the handle does not support the requested
operation.boolean isPaused(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle - The handle identifying the component.UnknownHandleRuntimeException - in case the given handle is
unknown.UnsupportedHandleOperationRuntimeException - in case the
reference of the handle does not support the requested
operation.Copyright © 2018. All rights reserved.