org.opentripplanner.updater.alerts.GtfsRealtimeAlertsUpdaterParameters 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.updater.alerts;
import org.opentripplanner.updater.PollingGraphUpdaterParameters;
public class GtfsRealtimeAlertsUpdaterParameters implements PollingGraphUpdaterParameters {
private final String configRef;
private final String feedId;
private final String url;
private final int earlyStartSec;
private final boolean fuzzyTripMatching;
private final int frequencySec;
public GtfsRealtimeAlertsUpdaterParameters(
String configRef,
String feedId,
String url,
int earlyStartSec,
boolean fuzzyTripMatching,
int getFrequencySec
) {
this.configRef = configRef;
this.feedId = feedId;
this.url = url;
this.earlyStartSec = earlyStartSec;
this.fuzzyTripMatching = fuzzyTripMatching;
this.frequencySec = getFrequencySec;
}
String getFeedId() {
return feedId;
}
public String getUrl() {
return url;
}
int getEarlyStartSec() {
return earlyStartSec;
}
boolean fuzzyTripMatching() {
return fuzzyTripMatching;
}
@Override
public int getFrequencySec() {
return frequencySec;
}
@Override
public String getConfigRef() {
return configRef;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy