H
- The type of the handle.CeasableHandle<H>
public static interface CeasableHandle.CeaseAutomatonHandle<H> extends CeasableHandle<H>
CeasableHandle.CeaseAutomatonHandle
interface defines those methods related
to the handle based cease life-cycle.
The handle reference requires the Ceasable.CeaseAutomaton
interface to be
implemented.CeasableHandle.CeaseAutomatonHandle<H>
Modifier and Type | Method | Description |
---|---|---|
boolean |
hasCeaseAutomaton(H aHandle) |
Determines whether the handle reference is ceasable by implementing
the
Ceasable.CeaseAutomaton interface. |
boolean |
isCeasable(H aHandle) |
Determines whether the component identified by the given handle may
get ceased.
|
boolean |
isCeased(H aHandle) |
Determines whether the component identified by the given handle is
ceased.
|
cease, hasCeasable
boolean hasCeaseAutomaton(H aHandle) throws UnknownHandleRuntimeException
Ceasable.CeaseAutomaton
interface.aHandle
- The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException
- in case the handle is unknown.boolean isCeasable(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle
- The handle identifying the component.CeasableHandle.cease(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 isCeased(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.