Enum Class Point.Type

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

public static enum Point.Type extends Enum<Point.Type>
Describes the types of positions in a driving course.
  • Enum Constant Details

    • HALT_POSITION

      public static final Point.Type HALT_POSITION
      Indicates a position at which a vehicle may halt temporarily, e.g. for executing an operation. The vehicle is also expected to report in when it arrives at such a position. It may not park here for longer than necessary, though.
    • PARK_POSITION

      public static final Point.Type PARK_POSITION
      Indicates a position at which a vehicle may halt for longer periods of time when it is not processing orders. The vehicle is also expected to report in when it arrives at such a position.
  • Method Details

    • values

      public static Point.Type[] 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 Point.Type 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