org.opentripplanner.standalone.config.updaters.sources.GbfsSourceParameters 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.standalone.config.updaters.sources;
import org.opentripplanner.standalone.config.NodeAdapter;
import org.opentripplanner.updater.bike_rental.GbfsBikeRentalDataSource;
public class GbfsSourceParameters extends UpdaterSourceParameters implements
GbfsBikeRentalDataSource.Parameters {
private final boolean routeAsCar;
public GbfsSourceParameters(NodeAdapter c) {
super(c);
routeAsCar = c.asBoolean("routeAsCar", false);
}
public boolean routeAsCar() { return this.routeAsCar; }
}