Package org.opentcs.data.peripherals
Klasse PeripheralOperation
java.lang.Object
org.opentcs.data.peripherals.PeripheralOperation
- Alle implementierten Schnittstellen:
Serializable
Describes an operation that is to be executed by a peripheral device.
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic enum
Defines the various moments at which an operation may be executed. -
Konstruktorübersicht
KonstruktorBeschreibungPeripheralOperation
(TCSResourceReference<Location> location, String operation, PeripheralOperation.ExecutionTrigger executionTrigger, boolean completionRequired) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the moment at which this operation is to be executed.Returns the location the peripheral device is associated with.Returns the actual operation to be executed by the peripheral device.boolean
Returns whether the completion of this operation is required to allow a vehicle to continue driving.toString()
-
Konstruktordetails
-
PeripheralOperation
public PeripheralOperation(@Nonnull TCSResourceReference<Location> location, @Nonnull String operation, @Nonnull PeripheralOperation.ExecutionTrigger executionTrigger, boolean completionRequired) Creates a new instance.- Parameter:
location
- The location the peripheral device is associated with.operation
- The actual operation to be executed by the peripheral device.executionTrigger
- The moment at which this operation is to be executed.completionRequired
- Whether the completion of this operation is required to allow a vehicle to continue driving.
-
-
Methodendetails
-
getLocation
Returns the location the peripheral device is associated with.- Gibt zurück:
- The location the peripheral device is associated with.
-
getOperation
Returns the actual operation to be executed by the peripheral device.- Gibt zurück:
- The actual operation to be executed by the peripheral device.
-
getExecutionTrigger
Returns the moment at which this operation is to be executed.- Gibt zurück:
- The moment at which this operation is to be executed.
-
isCompletionRequired
public boolean isCompletionRequired()Returns whether the completion of this operation is required to allow a vehicle to continue driving.- Gibt zurück:
- Whether the completion of this operation is required to allow a vehicle to continue driving.
-
toString
-