DeliveryVehicle

public abstract class DeliveryVehicle extends BaseVehicle

DeliveryVehicle represents a vehicle used to perform single tracked actions, known as Tasks.

Nested Class Summary

class DeliveryVehicle.Builder Builder class for DeliveryVehicle. 

Public Constructor Summary

Public Method Summary

static DeliveryVehicle.Builder
builder(String name)
Returns new default Builder instance.
static DeliveryVehicle.Builder
builder(String providerId, String vehicleId)
Returns new default Builder instance.
abstract ImmutableList<VehicleStop>
getVehicleStops()
Returns the stops currently assigned to this vehicle as reported by FleetEngine.
abstract DeliveryVehicle.Builder
toBuilder()
Returns new Builder instance set with current DeliveryVehicle state.

Inherited Method Summary

Public Constructors

public DeliveryVehicle ()

Public Methods

public static DeliveryVehicle.Builder builder (String name)

Returns new default Builder instance.

public static DeliveryVehicle.Builder builder (String providerId, String vehicleId)

Returns new default Builder instance.

public abstract ImmutableList<VehicleStop> getVehicleStops ()

Returns the stops currently assigned to this vehicle as reported by FleetEngine.

public abstract DeliveryVehicle.Builder toBuilder ()

Returns new Builder instance set with current DeliveryVehicle state.