Class ProcessModelEvent

java.lang.Object
org.opentcs.drivers.vehicle.management.CommAdapterEvent
org.opentcs.drivers.vehicle.management.ProcessModelEvent
All Implemented Interfaces:
Serializable, LowLevelCommunicationEvent

public class ProcessModelEvent extends CommAdapterEvent implements Serializable
Instances of this class represent events emitted by/for changes on VehicleProcessModels.
See Also:
  • Constructor Details

    • ProcessModelEvent

      public ProcessModelEvent(@Nonnull String attributeChanged, @Nonnull VehicleProcessModelTO updatedProcessModel)
      Creates a new instance.
      Parameters:
      attributeChanged - The attribute's name that changed.
      updatedProcessModel - A serializable representation of the corresponding process model.
  • Method Details

    • getAttributeChanged

      public String getAttributeChanged()
      Returns the attribute's name that changed in the process model.
      Returns:
      The attribute's name that changed in the process model.
    • getUpdatedProcessModel

      public VehicleProcessModelTO getUpdatedProcessModel()
      Returns a serializable representation of the corresponding process model.
      Returns:
      A serializable representation of the corresponding process model.