org.opentripplanner.ext.bikerentalservicedirectory.GbfsDataSourceParameters 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.bike_rental.GbfsBikeRentalDataSource;
public class GbfsDataSourceParameters implements GbfsBikeRentalDataSource.Parameters {
private final String url;
private final String name;
public GbfsDataSourceParameters(String url, String name) {
this.url = url;
this.name = name;
}
@Override
public boolean routeAsCar() {
return false;
}
@Override
public String getUrl() {
return url;
}
@Override
public String getName() {
return name;
}
}