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

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

There is a newer version: 2.5.0
Show newest version
package org.opentripplanner.graph_builder.issues;

import org.opentripplanner.graph_builder.DataImportIssue;
import org.opentripplanner.model.StationElement;

public class ParentStationNotFound implements DataImportIssue {

    public static final String FMT = "Parent station %s not found. Station element %s will not be "
        + "linked to a parent station.";

    final String parentStop;

    final StationElement stationElement;

    public ParentStationNotFound(StationElement stationElement, String parentStop){
    	this.stationElement = stationElement;
    	this.parentStop = parentStop;
    }

    @Override
    public String getMessage() {
        return String.format(FMT, parentStop, stationElement);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy