Class VehicleProcessModel.PropertyUpdate

java.lang.Object
org.opentcs.drivers.vehicle.VehicleProcessModel.PropertyUpdate
Direct Known Subclasses:
VehicleProcessModel.TransportOrderPropertyUpdate, VehicleProcessModel.VehiclePropertyUpdate
Enclosing class:
VehicleProcessModel

public static class VehicleProcessModel.PropertyUpdate
extends java.lang.Object
A notification object sent to observers to indicate a change of a property.
  • Constructor Summary

    Constructors 
    Constructor Description
    PropertyUpdate​(java.lang.String key, java.lang.String value)
    Creates a new instance.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getKey()
    Returns the property's key.
    java.lang.String getValue()
    Returns the property's new value.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PropertyUpdate

      public PropertyUpdate​(java.lang.String key, java.lang.String value)
      Creates a new instance.
      Parameters:
      key - The key.
      value - The new value.
  • Method Details

    • getKey

      public java.lang.String getKey()
      Returns the property's key.
      Returns:
      The property's key.
    • getValue

      public java.lang.String getValue()
      Returns the property's new value.
      Returns:
      The property's new value.