Package org.opentcs.data.peripherals
Enum Class PeripheralOperation.ExecutionTrigger
java.lang.Object
java.lang.Enum<PeripheralOperation.ExecutionTrigger>
org.opentcs.data.peripherals.PeripheralOperation.ExecutionTrigger
- All Implemented Interfaces:
Serializable
,Comparable<PeripheralOperation.ExecutionTrigger>
,Constable
- Enclosing class:
PeripheralOperation
public static enum PeripheralOperation.ExecutionTrigger
extends Enum<PeripheralOperation.ExecutionTrigger>
Defines the various moments at which an operation may be executed.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe operation is to be triggered after the allocation of the path / before the movement.The operation is to be triggered after the movement.The operation is to be triggered immediately. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PeripheralOperation.ExecutionTrigger[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IMMEDIATE
The operation is to be triggered immediately. -
AFTER_ALLOCATION
The operation is to be triggered after the allocation of the path / before the movement. -
AFTER_MOVEMENT
The operation is to be triggered after the movement.
-
-
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
-