DeliveryVehicleManager

public final class DeliveryVehicleManager extends Object

VehicleManager implementation for the delivery vertical. Enables creation, modification, and retrieval of a single vehicle.

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

Public Method Summary

ListenableFuture<DeliveryVehicle>
createVehicle()
Returns a Future that notifies of the outcome of an attempt to create a DeliveryVehicle for the set vehicle id.
ListenableFuture<DeliveryVehicle>
getVehicle()
Returns a Future that notifies of the outcome of an attempt to retrieve a DeliveryVehicle for the set vehicle id.

Inherited Method Summary

Public Methods

public ListenableFuture<DeliveryVehicle> createVehicle ()

Returns a Future that notifies of the outcome of an attempt to create a DeliveryVehicle for the set vehicle id.

public ListenableFuture<DeliveryVehicle> getVehicle ()

Returns a Future that notifies of the outcome of an attempt to retrieve a DeliveryVehicle for the set vehicle id.