VehicleStop.Builder

public static abstract class VehicleStop.Builder extends Object

Builder class for VehicleStop.

Public Method Summary

VehicleStop
build()
Returns new VehicleStop instance with the state set by the Builder.
abstract VehicleStop.Builder
setTasks(List<Task> tasks)
Sets the list of tasks associated with this stop.
abstract VehicleStop.Builder
setVehicleStopState(int value)
Sets the state of the VehicleStop.
abstract VehicleStop.Builder
setWaypoint(Waypoint waypoint)
Sets the location that should be navigated to for the stop.

Inherited Method Summary

Public Methods

public VehicleStop build ()

Returns new VehicleStop instance with the state set by the Builder.

Throws
NullPointerException if any non-nullable values are not set.
IllegalArgumentException if the VehicleStop is set without any Tasks.

public abstract VehicleStop.Builder setTasks (List<Task> tasks)

Sets the list of tasks associated with this stop.

public abstract VehicleStop.Builder setVehicleStopState (int value)

Sets the state of the VehicleStop.

public abstract VehicleStop.Builder setWaypoint (Waypoint waypoint)

Sets the location that should be navigated to for the stop.