AI-generated Key Takeaways
-
VehicleStopis an abstract class that describes a stop for a vehicle. -
It includes information about the stop's location (Waypoint), associated tasks (TaskInfo list), and current state (VehicleStopState).
-
Developers can create and manipulate
VehicleStopobjects using the provided Builder class. -
VehicleStopprovides methods to access information about the stop, such as its state, waypoint, and associated tasks.
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 ImmutableList<TaskInfo> |
getTaskInfoList()
Returns the list of
TaskInfo objects 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.
|
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 ImmutableList<TaskInfo> getTaskInfoList ()
Returns the list of
TaskInfo objects 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.