org.opentripplanner.standalone.config.updaters.BikeParkUpdaterConfig 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;
import org.opentripplanner.standalone.config.NodeAdapter;
import org.opentripplanner.updater.bike_park.BikeParkUpdaterParameters;
public class BikeParkUpdaterConfig {
public static BikeParkUpdaterParameters create(String updaterRef, NodeAdapter c) {
return new BikeParkUpdaterParameters(
updaterRef,
c.asText("url", null),
c.asText("namePrefix", null),
c.asInt("frequencySec", 60),
c.asBoolean("zip", false)
);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy