DeliveryTaskManager

  • DeliveryTaskManager enables the creation and modification of delivery tasks within the Fleet Engine system.

  • Methods within this class utilize Futures to handle asynchronous operations and may throw exceptions for communication issues or invalid operations.

  • createTask allows the creation of new DeliveryTask instances based on provided request parameters.

  • updateTask provides functionality to modify existing DeliveryTask objects with updated information.

public final class DeliveryTaskManager extends Object

TaskManager implementation for the delivery vertical. Enables creation and modification of tasks.

Methods in this class return a Future. This class may trigger an ExecutionException for the following cases:

Public Method Summary

ListenableFuture<DeliveryTask>
createTask(CreateDeliveryTaskRequest request)
Returns a Future that notifies of the outcome of an attempt to create a DeliveryTask for the provided task id.
ListenableFuture<DeliveryTask>
updateTask(UpdateDeliveryTaskRequest request)
Returns a Future that notifies of the outcome of an attempt to modify the existing DeliveryTask for the set task id.

Inherited Method Summary

Public Methods

public ListenableFuture<DeliveryTask> createTask (CreateDeliveryTaskRequest request)

Returns a Future that notifies of the outcome of an attempt to create a DeliveryTask for the provided task id.

public ListenableFuture<DeliveryTask> updateTask (UpdateDeliveryTaskRequest request)

Returns a Future that notifies of the outcome of an attempt to modify the existing DeliveryTask for the set task id.