Klasse DriveOrder.Destination

java.lang.Object
org.opentcs.data.order.DriveOrder.Destination
Alle implementierten Schnittstellen:
Serializable
Umschließende Klasse:
DriveOrder

public static class DriveOrder.Destination extends Object implements Serializable
Describes the destination of a drive order.
Siehe auch:
  • Felddetails

    • OP_NOP

      public static final String OP_NOP
      An operation constant for doing nothing.
      Siehe auch:
    • OP_PARK

      public static final String OP_PARK
      An operation constant for parking the vehicle.
      Siehe auch:
    • OP_MOVE

      public static final String OP_MOVE
      An operation constant for sending the vehicle to a point without a location associated to it.
      Siehe auch:
  • Konstruktordetails

    • Destination

      public Destination(@Nonnull TCSObjectReference<?> destination)
      Creates a new instance.
      Parameter:
      destination - The actual destination (must be a reference to a location or point).
  • Methodendetails

    • getDestination

      @Nonnull public TCSObjectReference<?> getDestination()
      Returns the actual destination (a location or point).
      Gibt zurück:
      The actual destination (a location or point).
    • getOperation

      @Nonnull public String getOperation()
      Returns the operation to be performed at the destination location.
      Gibt zurück:
      The operation to be performed at the destination location.
    • withOperation

      public DriveOrder.Destination withOperation(@Nonnull String operation)
      Creates a copy of this object, with the given operation.
      Parameter:
      operation - The value to be set in the copy.
      Gibt zurück:
      A copy of this object, differing in the given value.
    • getProperties

      @Nonnull public Map<String,String> getProperties()
      Returns the properties of this destination.
      Gibt zurück:
      The properties of this destination.
    • withProperties

      public DriveOrder.Destination withProperties(Map<String,String> properties)
      Creates a copy of this object, with the given properties.
      Parameter:
      properties - The value to be set in the copy.
      Gibt zurück:
      A copy of this object, differing in the given value.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object