public abstract class TripValidator extends Validator
| Constructor and Description |
|---|
TripValidator(Feed feed,
SQLErrorStorage errorStorage) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
validateTrip(Trip trip,
Route route,
List<StopTime> stopTimes,
List<Stop> stops)
This method will be called on each trip in the feed.
|
complete, registerError, registerError, registerError, storeErrorspublic TripValidator(Feed feed, SQLErrorStorage errorStorage)
public abstract void validateTrip(Trip trip, Route route, List<StopTime> stopTimes, List<Stop> stops)
trip - the trip whose stop_times are provided in the other parameter.stopTimes - a List of all the stop times in the given trip, in order of increasing stop_sequence.Copyright © 2019. All rights reserved.