H
- The type of the handle.public interface ResetHandle<H>
ResetHandle
interface defines those methods related to the handle
based reset operation.
The handle reference requires the Resetable
interface to be
implemented.
Modifier and Type | Method and Description |
---|---|
boolean |
hasReset(H aHandle)
Determines whether the handle reference provides resetting by
implementing the
Resetable interface. |
void |
reset(H aHandle)
Resets the component identified by the given handle.
|
boolean hasReset(H aHandle) throws UnknownHandleRuntimeException
Resetable
interface.aHandle
- The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException
- Thrown in case the handle is
unknown (there is none reference for this handle).void reset(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle
- The handle identifying the component.ResetException
- in case resetting fails.UnsupportedHandleOperationRuntimeException
- in case the reference
of the handle does not support the requested operation.UnknownHandleRuntimeException
- Thrown in case the handle is
unknown (there is none reference for this handle).Copyright © 2015. All rights reserved.