Enum Class TransportOrderAssignmentVeto
java.lang.Object
java.lang.Enum<TransportOrderAssignmentVeto>
org.opentcs.components.kernel.dipatching.TransportOrderAssignmentVeto
- All Implemented Interfaces:
Serializable
,Comparable<TransportOrderAssignmentVeto>
,Constable
Defines reasons for a transport order assignment not being possible.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA generic (dispatcher implementation-specific) reason that prevents the transport order assignment.There is no reason that prevents the transport order assignment.The transport order has its intended vehicle not set.The transport order is part of anOrderSequence
.The transport order'sTransportOrder.State
is invalid (e.g.The current position of the vehicle to assign the transport order to is unknown.TheVehicle.IntegrationLevel
of the vehicle to assign the transport order to is invalid (e.g.The vehicle to assign the transport order to is processing anOrderSequence
.TheVehicle.ProcState
of the vehicle to assign the transport order to is invalid (e.g.TheVehicle.State
of the vehicle to assign the transport order to is invalid (e.g. -
Method Summary
Modifier and TypeMethodDescriptionstatic TransportOrderAssignmentVeto
Returns the enum constant of this class with the specified name.static TransportOrderAssignmentVeto[]
values()
Returns an array containing the constants of this enum class, 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 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
-