H
- The type of the handle.public static interface DecomposeableHandle.DecomposeAutomatonHandle<H> extends DecomposeableHandle<H>
DecomposeableHandle.DecomposeAutomatonHandle
interface defines those methods
related to the handle based decompose life-cycle.
The handle reference requires the Decomposeable.DecomposeAutomaton
interface to
be implemented.DecomposeableHandle.DecomposeAutomatonHandle<H>
Modifier and Type | Method and Description |
---|---|
void |
decompose(H aHandle)
Decomposes the component identified by the given handle.
|
boolean |
hasDecomposeAutomaton(H aHandle)
Determines whether the handle reference is decomposable by
implementing the
Decomposeable.DecomposeAutomaton interface. |
boolean |
isDecomposeable(H aHandle)
Determines whether the component identified by the given handle may
get decomposed.
|
hasDecomposeable
boolean hasDecomposeAutomaton(H aHandle) throws UnknownHandleRuntimeException
Decomposeable.DecomposeAutomaton
interface.aHandle
- The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException
- in case the handle is unknown.boolean isDecomposeable(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle
- The handle identifying the component.#destroy(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.void decompose(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
decompose
in interface DecomposeableHandle<H>
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.