org.opentripplanner.graph_builder.issues.TripUndefinedService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
package org.opentripplanner.graph_builder.issues;
import org.opentripplanner.graph_builder.DataImportIssue;
import org.opentripplanner.model.Trip;
public class TripUndefinedService implements DataImportIssue {
public static final String FMT = "Trip %s references serviceId %s that was not defined in the feed.";
final Trip trip;
public TripUndefinedService(Trip trip){
this.trip = trip;
}
@Override
public String getMessage() {
return String.format(FMT, trip, trip.getServiceId());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy