H
- The type of the handle.public static interface StoppableHandle.StopAutomatonHandle<H> extends StoppableHandle<H>
StoppableHandle.StopAutomatonHandle
interface defines those methods related
to the handle based stop life-cycle.
The handle reference requires the Stoppable.StopAutomaton
interface to be
implemented.StoppableHandle.StopAutomatonHandle<H>
Modifier and Type | Method and Description |
---|---|
boolean |
hasStopAutomaton(H aHandle)
Determines whether the handle reference is stoppable by implementing
the
Stoppable.StopAutomaton interface. |
boolean |
isStoppable(H aHandle)
Determines whether the component identified by the given handle may
get stopped.
|
boolean |
isStopped(H aHandle)
Determines whether the component identified by the given handle is
stopped.
|
hasStoppable, stop
boolean hasStopAutomaton(H aHandle) throws UnknownHandleRuntimeException
Stoppable.StopAutomaton
interface.aHandle
- The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException
- in case the handle is unknown.boolean isStoppable(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle
- The handle identifying the component.StoppableHandle.stop(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 isStopped(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.