DeliveryTask represents a single action to track. In general there is a distinction between shipment-related tasks and break tasks. A shipment can have multiple tasks associated with it; for example, one task for the pickup and one for the dropoff or transfer. Different tasks for a given shipment can be handled by different vehicles; for example, one vehicle handles the pickup and drives the shipment to the hub, while another drives the same shipment from the hub to the dropoff.
Nested Class Summary
class | DeliveryTask.Builder | Builder class for DeliveryTask. |
Public Constructor Summary
Public Method Summary
static DeliveryTask.Builder | |
static DeliveryTask.Builder | |
abstract DeliveryTask.Builder |
toBuilder()
Returns new Builder instance set with current DeliveryTask state.
|
Inherited Method Summary
Public Constructors
public DeliveryTask ()
Public Methods
public static DeliveryTask.Builder builder (String taskName)
Returns new default Builder instance.
public static DeliveryTask.Builder builder (String providerId, String taskId)
Returns new default Builder instance.
public abstract DeliveryTask.Builder toBuilder ()
Returns new Builder instance set with current DeliveryTask state.