public class CityBikesBikeRentalDataSource extends Object implements BikeRentalDataSource, JsonConfigurable
| Constructor and Description |
|---|
CityBikesBikeRentalDataSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Graph graph,
com.fasterxml.jackson.databind.JsonNode config) |
List<BikeRentalStation> |
getStations() |
String |
getUrl() |
void |
setUrl(String url) |
String |
toString() |
boolean |
update()
Fetch current data about bike rental stations and availability from this source.
|
public boolean update()
BikeRentalDataSourceupdate in interface BikeRentalDataSourcepublic List<BikeRentalStation> getStations()
getStations in interface BikeRentalDataSourcepublic String getUrl()
public void setUrl(String url)
public void configure(Graph graph, com.fasterxml.jackson.databind.JsonNode config)
configure in interface JsonConfigurableCopyright © 2018. All rights reserved.