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

org.opentripplanner.ext.vehicleparking.kml.KmlUpdaterParameters Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
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