
org.opentripplanner.graph_builder.DataImportIssue 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;
import org.opentripplanner.routing.graph.Edge;
import org.opentripplanner.routing.graph.Vertex;
/**
* Represents noteworthy data import issues that occur during the graph building process. These
* issues should be passed on the the {@link org.opentripplanner.graph_builder.DataImportIssueStore}
* fwitch will be responsible for logging, summarizing and reporting the issue.
*
* Do NOT log the issue in the class where the issue is detected/created.
*
* @author andrewbyrd
*/
public interface DataImportIssue {
/**
* Provide a detailed message, including enough data to be able to fix the problem (in the
* source system).
*/
String getMessage();
/**
* This method is used by the HTML report builder. It is useful to put links to
* OSM here.
*/
default String getHTMLMessage() {
return this.getMessage();
}
/**
* @deprecated This is used in the {@link org.opentripplanner.visualizer.ShowGraph} only,
* which status is unclear. Is anyone still using it?
*/
@Deprecated
default Edge getReferencedEdge() {
return null;
}
/**
* @deprecated This is used in the {@link org.opentripplanner.visualizer.ShowGraph} only,
* which status is unclear. Is anyone still using it?
*/
@Deprecated
default Vertex getReferencedVertex() {
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy