DeliveryTaskManager

public final class DeliveryTaskManager extends Object

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

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

Public Method Summary

Future<DeliveryTask>
createTask(CreateDeliveryTaskRequest request)
Returns a Future that notifies of the outcome of an attempt to create a DeliveryTask for the provided task id.
Future<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 Future<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 Future<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.