Package gda.px.sampleChanger
Enum Class SampleChangerStatus
- All Implemented Interfaces:
Serializable,Comparable<SampleChangerStatus>,Constable
Sample changer status: Provides (via
toString() corresponding description of a SampleChanger-
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 TypeMethodDescriptionintstatic booleanisStatusAnyOf(SampleChangerStatus toCheck, SampleChangerStatus... values) toString()static SampleChangerStatusReturns the enum constant of this class with the specified name.static SampleChangerStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOTCONNECTED
-
CONNECTING
-
NOTINITIALISED
-
IDLE
-
SAMPLESTAGEIDLE
-
INITIALISING
-
LOADING
-
UNLOADING
-
MOVINGSAMPLESTAGE
-
MOVINGROBOT
-
CENTRING
-
ERROR
-
LOADINGPLATE
-
UNLOADINGPLATE
-
INVENTORY
-
DRYING
-
ANNEALING
-
DISPOSING
-
ABORTING
-
SOAKING
-
-
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
-
getStatus
public int getStatus()- Returns:
- the value of the status
-
toString
- Overrides:
toStringin classEnum<SampleChangerStatus>
-
isStatusAnyOf
-