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

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

package org.opentripplanner.graph_builder.issues;

import org.opentripplanner.graph_builder.DataImportIssue;

public class ParkAndRideUnlinked implements DataImportIssue {

    public static final String FMT = "Park and ride '%s' (%d) not linked to any streets; it will not be usable.";
    public static final String HTMLFMT = "Park and ride '%s' (%d) not linked to any streets; it will not be usable.";
    
    final String name;
    final long osmId;
    
    public ParkAndRideUnlinked(String name, long osmId){
    	this.name = name;
    	this.osmId = osmId;
    }
    
    @Override
    public String getMessage() {
        return String.format(FMT, name, osmId);
    }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy