Package gda.beamline.health
Class ScannableHealthCondition
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.beamline.health.ComponentHealthConditionBase
gda.beamline.health.ScannableHealthCondition
- All Implemented Interfaces:
ComponentHealthCondition,Configurable,Findable
- Direct Known Subclasses:
EnumPositionCondition,ScannableThresholdCondition
A
ComponentHealthCondition based on the position of a Scannable-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the health state for the wrapped scannable, based on the state of the scannable and whether it is critical for the functioning of the beamline.protected abstract BeamConditionprotected StringMethods inherited from class gda.beamline.health.ComponentHealthConditionBase
configure, getCurrentState, getDescription, getErrorMessage, getHealthState, isCritical, isEnabled, readCurrentState, 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
-
ScannableHealthCondition
public ScannableHealthCondition()
-
-
Method Details
-
getDefaultErrorMessage
- Overrides:
getDefaultErrorMessagein classComponentHealthConditionBase
-
calculateHealthState
Return the health state for the wrapped scannable, based on the state of the scannable and whether it is critical for the functioning of the beamline.- Specified by:
calculateHealthStatein classComponentHealthConditionBase- Returns:
- health state of the scannable
-
getCondition
-