- All Implemented Interfaces:
Serializable
,Comparable<ProcessState>
,java.lang.constant.Constable
An enumeration of the values possible in the
ProcessStep.currentState
attribute. This enumeration
isn't actually an enumeration in the XML schemas, but it has
a finite set of possible values and it's easier to work with
an enumeration in Java code than just a string.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe step state when the step is in the stage where barcodes are attached to the samples.The step state when the step is complete.The step state when the step is in the next steps stage.The step state when the step is in the sample placement stage.The step state when the step is in the pooling stage.The step state when the step is in the record details stage.The step state when the step is in the sample placement stage. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessState
Get the process state that has the given display name.toString()
value()
static ProcessState
Returns the enum constant of this type with the specified name.static ProcessState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STARTED
The step state when the step is in the sample placement stage. -
PLACEMENT
The step state when the step is in the sample placement stage. -
ADD_REAGENT
The step state when the step is in the stage where barcodes are attached to the samples. -
POOLING
The step state when the step is in the pooling stage. -
RECORD_DETAILS
The step state when the step is in the record details stage. -
NEXT_STEPS
The step state when the step is in the next steps stage. -
COMPLETED
The step state when the step is complete.
-
-
Field Details
-
displayName
The display name of the state.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<ProcessState>
-
value
-
fromValue
Get the process state that has the given display name.- Parameters:
str
- The display name, as returned from Clarity calls.- Returns:
- The matching process state, or null if
str
is null. - Throws:
IllegalArgumentException
- ifstr
does not match the display name of a state.
-