Package gda.beamline.health
Class ScannableThresholdCondition
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.beamline.health.ComponentHealthConditionBase
gda.beamline.health.ScannableHealthCondition
gda.beamline.health.ScannableThresholdCondition
- All Implemented Interfaces:
ComponentHealthCondition,Configurable,Findable
Wraps a
ScannableThresholdCheck to determine the health status of the scannable-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BeamConditionvoidsetCondition(ScannableThresholdCheck condition) Methods inherited from class gda.beamline.health.ScannableHealthCondition
calculateHealthState, getDefaultErrorMessageMethods inherited from class gda.beamline.health.ComponentHealthConditionBase
configure, getCurrentState, getDescription, getErrorMessage, getHealthState, isCritical, isEnabled, setCritical, setDescription, setEnabled, setErrorMessage, toStringMethods inherited from class gda.factory.FindableConfigurableBase
getName, setNameMethods inherited from class gda.factory.ConfigurableBase
isConfigureAtStartup, isConfigured, reconfigure, setConfigured
-
Constructor Details
-
ScannableThresholdCondition
public ScannableThresholdCondition()
-
-
Method Details
-
readCurrentState
- Specified by:
readCurrentStatein classComponentHealthConditionBase
-
setCondition
-
getCondition
- Specified by:
getConditionin classScannableHealthCondition
-