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

org.opentripplanner.standalone.config.updaters.sources.GbfsSourceParameters Maven / Gradle / Ivy

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; }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy