All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.graph_builder.issues.TripUndefinedService Maven / Gradle / Ivy

The newest version!
package org.opentripplanner.graph_builder.issues;

import org.opentripplanner.graph_builder.issue.api.DataImportIssue;
import org.opentripplanner.transit.model.timetable.Trip;

public record TripUndefinedService(Trip trip) implements DataImportIssue {
  private static final String FMT =
    "Trip %s references serviceId %s that was not defined in the feed.";

  @Override
  public String getMessage() {
    return String.format(FMT, trip, trip.getServiceId());
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy