Class PeripheralProcessModelEvent
java.lang.Object
org.opentcs.drivers.peripherals.management.PeripheralCommAdapterEvent
org.opentcs.drivers.peripherals.management.PeripheralProcessModelEvent
- All Implemented Interfaces:
Serializable
,LowLevelCommunicationEvent
Instances of this class represent events emitted by/for changes on
PeripheralProcessModel
s.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPeripheralProcessModelEvent
(TCSResourceReference<Location> location, String attributeChanged, PeripheralProcessModel processModel) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the attribute that has changed in the process model.Returns the location assiciated with the peripheral device.Returns the process model with its current/changed state.
-
Constructor Details
-
PeripheralProcessModelEvent
public PeripheralProcessModelEvent(@Nonnull TCSResourceReference<Location> location, @Nonnull String attributeChanged, @Nonnull PeripheralProcessModel processModel) Creates a new instance.- Parameters:
location
- The location assiciated with the peripheral device.attributeChanged
- The name of the attribute that has changed in the process model.processModel
- The process model with its current/changed state.
-
-
Method Details
-
getLocation
Returns the location assiciated with the peripheral device.- Returns:
- The location.
-
getAttributeChanged
Returns the name of the attribute that has changed in the process model.- Returns:
- The name of the attribute that has changed in the process model.
-
getProcessModel
Returns the process model with its current/changed state.- Returns:
- The process model with its current/changed state.
-