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_VETOA generic (dispatcher implementation-specific) reason that prevents the transport order assignment.NO_VETOThere is no reason that prevents the transport order assignment.TRANSPORT_ORDER_INTENDED_VEHICLE_NOT_SETThe transport order has its intended vehicle not set.TRANSPORT_ORDER_PART_OF_ORDER_SEQUENCEThe transport order is part of anOrderSequence.TRANSPORT_ORDER_STATE_INVALIDThe transport order'sTransportOrder.Stateis invalid (e.g.VEHICLE_CURRENT_POSITION_UNKNOWNThe current position of the vehicle to assign the transport order to is unknown.VEHICLE_INTEGRATION_LEVEL_INVALIDTheVehicle.IntegrationLevelof the vehicle to assign the transport order to is invalid (e.g.VEHICLE_PROCESSING_ORDER_SEQUENCEThe vehicle to assign the transport order to is processing anOrderSequence.VEHICLE_PROCESSING_STATE_INVALIDTheVehicle.ProcStateof the vehicle to assign the transport order to is invalid (e.g.VEHICLE_STATE_INVALIDTheVehicle.Stateof the vehicle to assign the transport order to is invalid (e.g. -
Method Summary
Modifier and Type Method Description static TransportOrderAssignmentVetovalueOf(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.Stateis 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.ProcStateof the vehicle to assign the transport order to is invalid (e.g. because it's notVehicle.ProcState.IDLE). -
VEHICLE_STATE_INVALID
TheVehicle.Stateof the vehicle to assign the transport order to is invalid (e.g. because it's neitherVehicle.State.IDLEnorVehicle.State.CHARGING). -
VEHICLE_INTEGRATION_LEVEL_INVALID
TheVehicle.IntegrationLevelof 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
-