Enum Class Vehicle.ProcState

java.lang.Object
java.lang.Enum<Vehicle.ProcState>
org.opentcs.data.model.Vehicle.ProcState
All Implemented Interfaces:
Serializable, Comparable<Vehicle.ProcState>, Constable
Enclosing class:
Vehicle

public static enum Vehicle.ProcState extends Enum<Vehicle.ProcState>
A vehicle's processing state as seen by the dispatcher.
  • Enum Constant Details

    • IDLE

      public static final Vehicle.ProcState IDLE
      The vehicle is currently not processing a transport order.
    • AWAITING_ORDER

      public static final Vehicle.ProcState AWAITING_ORDER
      The vehicle is currently processing a transport order and is waiting for the next drive order to be assigned to it.
    • PROCESSING_ORDER

      public static final Vehicle.ProcState PROCESSING_ORDER
      The vehicle is currently processing a drive order.
  • Method Details

    • values

      public static Vehicle.ProcState[] 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

      public static Vehicle.ProcState valueOf(String name)
      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 name
      NullPointerException - if the argument is null