Interface CeasableHandle.CeaseAutomatonHandle<H>

Type Parameters:
H - The type of the handle.
All Superinterfaces:
CeasableHandle<H>
Enclosing interface:
CeasableHandle<H>

public static interface CeasableHandle.CeaseAutomatonHandle<H> extends CeasableHandle<H>
The 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.
  • Method Details

    • hasCeaseAutomaton

      boolean hasCeaseAutomaton(H aHandle)
      Determines whether the handle reference is ceasable by implementing the Ceasable.CeaseAutomaton interface.
      Parameters:
      aHandle - The handle to test whether the reference provides the according functionality.
      Returns:
      True in case the reference provides the according functionality.
      Throws:
      UnknownHandleRuntimeException - in case the handle is unknown.
    • isCeasable

      boolean isCeasable(H aHandle)
      Determines whether the component identified by the given handle may get ceased.
      Parameters:
      aHandle - The handle identifying the component.
      Returns:
      True if CeasableHandle.cease(Object) is possible.
      Throws:
      UnknownHandleRuntimeException - in case the given handle is unknown.
      UnsupportedHandleOperationRuntimeException - in case the reference of the handle does not support the requested operation.
    • isCeased

      boolean isCeased(H aHandle)
      Determines whether the component identified by the given handle is ceased.
      Parameters:
      aHandle - The handle identifying the component.
      Returns:
      True in case of being ceased, else false.
      Throws:
      UnknownHandleRuntimeException - in case the given handle is unknown.
      UnsupportedHandleOperationRuntimeException - in case the reference of the handle does not support the requested operation.