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

org.opentripplanner.ext.bikerentalservicedirectory.GbfsUpdaterSourceConfig Maven / Gradle / Ivy

package org.opentripplanner.ext.bikerentalservicedirectory;

import org.opentripplanner.updater.UpdaterDataSourceConfig;
import org.opentripplanner.updater.UpdaterDataSourceParameters;

public class GbfsUpdaterSourceConfig implements UpdaterDataSourceConfig {

  private static final String DEFAULT_UPDATER_TYPE = "gbfs";

  private final UpdaterDataSourceParameters updaterSourceParameters;

  public GbfsUpdaterSourceConfig(UpdaterDataSourceParameters sourceParameters) {
    this.updaterSourceParameters = sourceParameters;
  }

  @Override
  public String getType() {
    return DEFAULT_UPDATER_TYPE;
  }

  @Override
  public UpdaterDataSourceParameters getUpdaterSourceParameters() {
    return updaterSourceParameters;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy