public interface TaskFlowTrainModel
Modifier and Type | Method and Description |
---|---|
TaskFlowTrainStopModel |
getCurrentStop() |
TaskFlowTrainStopModel |
getNextStop(TaskFlowTrainStopModel stop)
Returns the next train stop after the specified stop.
|
TaskFlowTrainStopModel |
getPreviousStop(TaskFlowTrainStopModel stop)
Returns the previous train stop before the specified stop.
|
TaskFlowTrainStopModel getCurrentStop()
java.lang.IllegalStateException
- if called before the task flow has been
initialized or after it has completed.TaskFlowTrainStopModel getNextStop(TaskFlowTrainStopModel stop)
stop
- the specified stop.null
if there isn't a next stop.java.lang.IllegalStateException
- if called before the task flow has been
initialized or after it has completed.TaskFlowTrainStopModel getPreviousStop(TaskFlowTrainStopModel stop)
stop
- the specified stop.null
if there isn't a previous stop.java.lang.IllegalStateException
- if called before the task flow has been
initialized or after it has completed.