Package org.opentcs.data.model
Enum Class Point.Type
- All Implemented Interfaces:
Serializable
,Comparable<Point.Type>
,Constable
- Enclosing class:
Point
Describes the types of positions in a driving course.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates a position at which a vehicle may halt temporarily, e.g.Indicates a position at which a vehicle may halt for longer periods of time when it is not processing orders. -
Method Summary
Modifier and TypeMethodDescriptionstatic Point.Type
Returns the enum constant of this class with the specified name.static Point.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
-