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

Future<DeliveryVehicle>
createVehicle()
Returns a Future that notifies of the outcome of an attempt to create a DeliveryVehicle for the set vehicle id.
Future<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 Future<DeliveryVehicle> createVehicle ()

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

public Future<DeliveryVehicle> getVehicle ()

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