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

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

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

import org.opentripplanner.graph_builder.issue.api.DataImportIssue;
import org.opentripplanner.openstreetmap.model.OSMWithTags;

public record ParkAndRideUnlinked(String name, OSMWithTags entity) implements DataImportIssue {
  private static final String FMT =
    "Park and ride '%s' (%s) not linked to any streets in OSM; entrance might not be placed correctly.";
  private static final String HTMLFMT =
    "Park and ride '%s' (%s) not linked to any streets in OSM; entrance might not be placed correctly.";

  @Override
  public String getMessage() {
    return String.format(FMT, name, entity);
  }

  @Override
  public String getHTMLMessage() {
    return String.format(HTMLFMT, entity.url(), name, entity);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy