VehicleStop

public abstract class VehicleStop extends Object

Describes a stop that the vehicle will be visiting.

Nested Class Summary

class VehicleStop.Builder Builder class for VehicleStop. 
@interface VehicleStop.VehicleStopState The current state of a VehicleStop. 

Public Constructor Summary

Public Method Summary

static VehicleStop.Builder
builder()
Returns new default Builder instance, with the VehicleStop state set to NEW.
abstract List<Task>
getTasks()
Returns the tasks associated with the vehicle stop.
abstract int
getVehicleStopState()
Returns the state of the VehicleStop.
abstract Waypoint
getWaypoint()
Returns the waypoint of the vehicle stop.
abstract VehicleStop.Builder
toBuilder()
Returns new Builder instance set with current VehicleStop state.
static VehicleStop

Inherited Method Summary

Public Constructors

public VehicleStop ()

Public Methods

public static VehicleStop.Builder builder ()

Returns new default Builder instance, with the VehicleStop state set to NEW.

public abstract List<Task> getTasks ()

Returns the tasks associated with the vehicle stop.

public abstract int getVehicleStopState ()

Returns the state of the VehicleStop.

public abstract Waypoint getWaypoint ()

Returns the waypoint of the vehicle stop.

public abstract VehicleStop.Builder toBuilder ()

Returns new Builder instance set with current VehicleStop state.

public static VehicleStop toVehicleStopPb (VehicleStop stop)