Schnittstelle InternalPeripheralJobService
- Alle Superschnittstellen:
PeripheralJobService
,TCSObjectService
Declares the methods the peripheral job service must provide which are not accessible to remote
peers.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Updates a peripheral job's state.Von Schnittstelle geerbte Methoden org.opentcs.components.kernel.services.PeripheralJobService
createPeripheralJob
Von Schnittstelle geerbte Methoden org.opentcs.components.kernel.services.TCSObjectService
appendObjectHistoryEntry, fetchObject, fetchObject, fetchObjects, fetchObjects, updateObjectProperty
-
Methodendetails
-
updatePeripheralJobState
void updatePeripheralJobState(TCSObjectReference<PeripheralJob> ref, PeripheralJob.State state) throws ObjectUnknownException Updates a peripheral job's state. Note that peripheral job states are intended to be manipulated by the peripheral job dispatcher only. Calling this method from any other parts of the kernel may result in undefined behaviour.- Parameter:
ref
- A reference to the peripheral job to be modified.state
- The peripheral job's new state.- Löst aus:
ObjectUnknownException
- If the referenced peripheral job does not exist.
-