Package org.opentcs.drivers.peripherals
Enum PeripheralProcessModel.Attribute
java.lang.Object
java.lang.Enum<PeripheralProcessModel.Attribute>
org.opentcs.drivers.peripherals.PeripheralProcessModel.Attribute
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PeripheralProcessModel.Attribute>
,java.lang.constant.Constable
- Enclosing class:
- PeripheralProcessModel
public static enum PeripheralProcessModel.Attribute extends java.lang.Enum<PeripheralProcessModel.Attribute>
Used to describe what has changed in a process model.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description COMM_ADAPTER_CONNECTED
Indicates a change of the comm adapter connected property.COMM_ADAPTER_ENABLED
Indicates a change of the comm adapter enabled property.LOCATION
Indicates a change of the location property.STATE
Indicates a change of the state property. -
Method Summary
Modifier and Type Method Description static PeripheralProcessModel.Attribute
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PeripheralProcessModel.Attribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LOCATION
Indicates a change of the location property. -
COMM_ADAPTER_ENABLED
Indicates a change of the comm adapter enabled property. -
COMM_ADAPTER_CONNECTED
Indicates a change of the comm adapter connected property. -
STATE
Indicates a change of the state property.
-
-
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-