Last Mile Fleet Solution is currently available only to select customers. Contact sales to learn more.

DeliveryTaskManager

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.