public enum MeasurementState extends java.lang.Enum<MeasurementState>
Enum Constant and Description |
---|
ERROR
During the execution of the measurement an error occurred.
|
FINISHED
The measurement is finished and can be started again.
|
INITIALIZING
The measurement is currently initializing.
|
INTERRUPTING
The measurement is trying to interrupt itself
|
QUEUED
The measurement is queued and will be executed when the microscope gets free.
|
READY
The measurement is ready to be started.
|
RUNNING
The measurement is currently running.
|
STOPPING
The measurement is trying to stop itself.
|
UNINITIALIZING
The measurement is currently uninitializing.
|
UNQUEUED
The measurement was removed from the queue without having run.
|
Modifier and Type | Method and Description |
---|---|
static MeasurementState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MeasurementState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MeasurementState QUEUED
public static final MeasurementState UNQUEUED
public static final MeasurementState RUNNING
public static final MeasurementState FINISHED
public static final MeasurementState READY
public static final MeasurementState ERROR
public static final MeasurementState STOPPING
public static final MeasurementState INTERRUPTING
public static final MeasurementState INITIALIZING
public static final MeasurementState UNINITIALIZING
public static MeasurementState[] values()
for (MeasurementState c : MeasurementState.values()) System.out.println(c);
public static MeasurementState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null