Class ActiveHutchApprover
java.lang.Object
uk.ac.gda.component.beamline.common.ActiveHutchApprover
- All Implemented Interfaces:
ActionApprover,Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanPerforms the test that the object encapsulates and returns the result of that test.Returns an explanation of why the last call to actionApproved returned false.getHutch()void
-
Field Details
-
beamlineName
-
EHSTATUS_DEVICE
-
-
Constructor Details
-
ActiveHutchApprover
public ActiveHutchApprover() -
ActiveHutchApprover
-
-
Method Details
-
actionApproved
Description copied from interface:ActionApproverPerforms the test that the object encapsulates and returns the result of that test.- Specified by:
actionApprovedin interfaceActionApprover- Returns:
- true if operation would be OK to perform
- Throws:
DeviceException- - thrown if an error occurred while inquiring into device objects' status
-
getDenialReason
Description copied from interface:ActionApproverReturns an explanation of why the last call to actionApproved returned false.- Specified by:
getDenialReasonin interfaceActionApprover- Returns:
- string
-
getHutch
-
setHutch
-