Package org.opentcs.data.model
Enum Class PeripheralInformation.State
- All Implemented Interfaces:
Serializable
,Comparable<PeripheralInformation.State>
,Constable
- Enclosing class:
PeripheralInformation
The elements of this enumeration describe the various possible states of a peripheral device.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThere is a problem with the peripheral device.The peripheral device is processing a job.The peripheral device is currently idle/available for processing jobs.Indicates that the location thePeripheralInformation
belongs to doesn't represent a peripheral device.The peripheral device's state is known and it's not in an error state, but it is not available for receiving jobs.The peripheral device's current state is unknown, e.g. -
Method Summary
Modifier and TypeMethodDescriptionstatic PeripheralInformation.State
Returns the enum constant of this class with the specified name.static PeripheralInformation.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_PERIPHERAL
Indicates that the location thePeripheralInformation
belongs to doesn't represent a peripheral device. -
UNKNOWN
The peripheral device's current state is unknown, e.g. because communication with it is currently not possible for some reason. -
UNAVAILABLE
The peripheral device's state is known and it's not in an error state, but it is not available for receiving jobs. -
ERROR
There is a problem with the peripheral device. -
IDLE
The peripheral device is currently idle/available for processing jobs. -
EXECUTING
The peripheral device is processing a job.
-
-
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
-