-
- Type Parameters:
H
- The type of the handle.
- All Known Subinterfaces:
CompositeComponentHandle<H,REF>
public interface ResetHandle<H>
TheResetHandle
interface defines those methods related to the handle based reset operation.The handle reference requires the
Resetable
interface to be implemented.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasReset(H aHandle)
Determines whether the handle reference provides resetting by implementing theResetable
interface.void
reset(H aHandle)
Resets the component identified by the given handle.
-
-
-
Method Detail
-
hasReset
boolean hasReset(H aHandle) throws UnknownHandleRuntimeException
Determines whether the handle reference provides resetting by implementing theResetable
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
- Thrown in case the handle is unknown (there is none reference for this handle).
-
reset
void reset(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
Resets the component identified by the given handle.- Parameters:
aHandle
- The handle identifying the component.- Throws:
UnknownHandleRuntimeException
- Thrown in case the handle is unknown (there is none reference for this handle).UnsupportedHandleOperationRuntimeException
- in case the reference of the handle does not support the requested operation.
-
-