public class ServiceValidator extends TripValidator
| Constructor and Description |
|---|
ServiceValidator(Feed feed,
SQLErrorStorage errorStorage) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete(ValidationResult validationResult)
You'd think we'd want to do this during the loading phase.
|
void |
validateTrip(Trip trip,
Route route,
List<StopTime> stopTimes,
List<Stop> stops)
This method will be called on each trip in the feed.
|
registerError, registerError, registerError, storeErrorspublic ServiceValidator(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 void complete(ValidationResult validationResult)
Copyright © 2019. All rights reserved.