Package gda.beamline.health
Enum Class BeamlineHealthState
- All Implemented Interfaces:
Serializable,Comparable<BeamlineHealthState>,Constable
Used to indicate the overall health state of the beamline and the components that are configured as relevant to the
the beamline's status.
- ERROR indicates that the beamline is not in a usable state
- WARNING indicates that the beamline is usable, but some scannables may not be in their ideal state
- NOT_CHECKED is only applicable to individual components and indicates that the condition for that component is disabled and therefore the component's state has not been checked.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic BeamlineHealthStateReturns the enum constant of this class with the specified name.static BeamlineHealthState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ERROR
-
WARNING
-
NOT_CHECKED
-
OK
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-