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

org.opentripplanner.netex.issues.InterchangeMaxWaitTimeNotGuaranteed Maven / Gradle / Ivy

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

import org.opentripplanner.graph_builder.DataImportIssue;
import org.rutebanken.netex.model.ServiceJourneyInterchange;

public class InterchangeMaxWaitTimeNotGuaranteed implements DataImportIssue {
    private static final String MSG
            = "Interchange max-wait-time ignored. Max-wait-time is only supported for guaranteed "
            + "interchanges. Interchange: %s";

    private final ServiceJourneyInterchange interchange;

    public InterchangeMaxWaitTimeNotGuaranteed(ServiceJourneyInterchange interchange) {
        this.interchange = interchange;
    }

    @Override
    public String getMessage() {
        return String.format(MSG, interchange);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy