org.opentripplanner.ext.bikerentalservicedirectory.GbfsUpdaterSourceConfig 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.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;
}
}