public class ReversedTripValidator extends TripValidator
| Constructor and Description |
|---|
ReversedTripValidator(Feed feed,
SQLErrorStorage errorStorage) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
validate(Feed feed,
boolean repair) |
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 ReversedTripValidator(Feed feed, SQLErrorStorage errorStorage)
public void validateTrip(Trip trip, Route route, List<StopTime> stopTimes, List<Stop> stops)
TripValidatorvalidateTrip in class TripValidatortrip - 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.public boolean validate(Feed feed, boolean repair)
Copyright © 2019. All rights reserved.