public class GbfsBikeRentalDataSource extends Object implements BikeRentalDataSource, JsonConfigurable
| Constructor and Description |
|---|
GbfsBikeRentalDataSource(String networkName) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Graph graph,
com.fasterxml.jackson.databind.JsonNode jsonNode)
Note that the JSON being passed in here is for configuration of the OTP component, it's completely separate
from the JSON coming in from the update source.
|
List<BikeRentalStation> |
getStations() |
void |
setBaseUrl(String url) |
boolean |
update()
Fetch current data about bike rental stations and availability from this source.
|
public GbfsBikeRentalDataSource(String networkName)
public void setBaseUrl(String url)
public boolean update()
BikeRentalDataSourceupdate in interface BikeRentalDataSourcepublic List<BikeRentalStation> getStations()
getStations in interface BikeRentalDataSourcepublic void configure(Graph graph, com.fasterxml.jackson.databind.JsonNode jsonNode)
configure in interface JsonConfigurableCopyright © 2018. All rights reserved.