org.opentripplanner.ext.vehicleparking.kml.KmlUpdaterParameters 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.ext.vehicleparking.kml;
import org.opentripplanner.updater.DataSourceType;
import org.opentripplanner.updater.vehicle_parking.VehicleParkingUpdaterParameters;
/**
* Class that extends {@link VehicleParkingUpdaterParameters} with parameters required by {@link
* KmlBikeParkDataSource}.
*/
public class KmlUpdaterParameters extends VehicleParkingUpdaterParameters {
private final String url;
private final String feedId;
private final String namePrefix;
private final boolean zip;
public KmlUpdaterParameters(
String configRef,
String url,
String feedId,
String namePrefix,
int frequencySec,
boolean zip,
DataSourceType sourceType
) {
super(configRef, frequencySec, sourceType);
this.url = url;
this.feedId = feedId;
this.namePrefix = namePrefix;
this.zip = zip;
}
public String getFeedId() {
return feedId;
}
public String getUrl() {
return url;
}
public String getNamePrefix() {
return namePrefix;
}
public boolean isZip() {
return zip;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy