Enum TransportOrderAssignmentVeto
java.lang.Object
java.lang.Enum<TransportOrderAssignmentVeto>
org.opentcs.components.kernel.dipatching.TransportOrderAssignmentVeto
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TransportOrderAssignmentVeto>
,java.lang.constant.Constable
public enum TransportOrderAssignmentVeto extends java.lang.Enum<TransportOrderAssignmentVeto>
Defines reasons for a transport order assignment not being possible.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description GENERIC_VETO
A generic (dispatcher implementation-specific) reason that prevents the transport order assignment.NO_VETO
There is no reason that prevents the transport order assignment.TRANSPORT_ORDER_INTENDED_VEHICLE_NOT_SET
The transport order has its intended vehicle not set.TRANSPORT_ORDER_PART_OF_ORDER_SEQUENCE
The transport order is part of anOrderSequence
.TRANSPORT_ORDER_STATE_INVALID
The transport order'sTransportOrder.State
is invalid (e.g.VEHICLE_CURRENT_POSITION_UNKNOWN
The current position of the vehicle to assign the transport order to is unknown.VEHICLE_INTEGRATION_LEVEL_INVALID
TheVehicle.IntegrationLevel
of the vehicle to assign the transport order to is invalid (e.g.VEHICLE_PROCESSING_ORDER_SEQUENCE
The vehicle to assign the transport order to is processing anOrderSequence
.VEHICLE_PROCESSING_STATE_INVALID
TheVehicle.ProcState
of the vehicle to assign the transport order to is invalid (e.g.VEHICLE_STATE_INVALID
TheVehicle.State
of the vehicle to assign the transport order to is invalid (e.g. -
Method Summary
Modifier and Type Method Description static TransportOrderAssignmentVeto
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TransportOrderAssignmentVeto[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NO_VETO
There is no reason that prevents the transport order assignment. -
TRANSPORT_ORDER_STATE_INVALID
The transport order'sTransportOrder.State
is invalid (e.g. because it's not in stateTransportOrder.State.DISPATCHABLE
). -
TRANSPORT_ORDER_PART_OF_ORDER_SEQUENCE
The transport order is part of anOrderSequence
. -
TRANSPORT_ORDER_INTENDED_VEHICLE_NOT_SET
The transport order has its intended vehicle not set. -
VEHICLE_PROCESSING_STATE_INVALID
TheVehicle.ProcState
of the vehicle to assign the transport order to is invalid (e.g. because it's notVehicle.ProcState.IDLE
). -
VEHICLE_STATE_INVALID
TheVehicle.State
of the vehicle to assign the transport order to is invalid (e.g. because it's neitherVehicle.State.IDLE
norVehicle.State.CHARGING
). -
VEHICLE_INTEGRATION_LEVEL_INVALID
TheVehicle.IntegrationLevel
of the vehicle to assign the transport order to is invalid (e.g. because it's notVehicle.IntegrationLevel.TO_BE_UTILIZED
). -
VEHICLE_CURRENT_POSITION_UNKNOWN
The current position of the vehicle to assign the transport order to is unknown. -
VEHICLE_PROCESSING_ORDER_SEQUENCE
The vehicle to assign the transport order to is processing anOrderSequence
. -
GENERIC_VETO
A generic (dispatcher implementation-specific) reason that prevents the transport order assignment.
-
-
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
-