- GasPrices - Class in de.codengine.tankerkoenig.models.mapper
-
A list of Gas Prices which depends on the requested gas price types.
- GasPrices.GasType - Enum in de.codengine.tankerkoenig.models.mapper
-
A set of requestable gas types
- GasPrices.Status - Enum in de.codengine.tankerkoenig.models.mapper
-
A set of possible status flags of the station
- GasRequestType - Enum in de.codengine.tankerkoenig.models.requests
-
Defines which price data should be requested, which is either
specific (DIESEL, E5, E10) or ALL (*)
- get(String, Map<String, Object>) - Method in interface de.codengine.tankerkoenig.client.ClientExecutor
-
Executes a GET request
- get(String, Map<String, Object>) - Method in class de.codengine.tankerkoenig.client.OkHttp3ClientExecutor
-
Builds the final URL using the supplied url, appends query parameters and
executes the request
- getBrand() - Method in class de.codengine.tankerkoenig.models.mapper.Station
-
Returns the stations brand.
- getCity() - Method in class de.codengine.tankerkoenig.models.mapper.Location
-
- getData() - Method in interface de.codengine.tankerkoenig.models.requests.Result
-
- getDays() - Method in class de.codengine.tankerkoenig.models.mapper.OpeningTime
-
Returns the unmodifyable set of days of the week for that the times are valid
- getDistance() - Method in class de.codengine.tankerkoenig.models.mapper.Location
-
- getEnd() - Method in class de.codengine.tankerkoenig.models.mapper.OpeningTime
-
Returns the end time, which (unreliably) is in the format HH:MM:ss
- getGasPrice(String) - Method in class de.codengine.tankerkoenig.models.requests.PricesResult
-
Will return the gas prices for a station, defined by the Station ID.
- getGasPrices() - Method in class de.codengine.tankerkoenig.models.mapper.Station
-
Returns the stations gas prices.
- getGasPrices() - Method in class de.codengine.tankerkoenig.models.requests.PricesResult
-
Will return an unmodifyable map of gas prices, which uses the
Station ID as key
- getHouseNumber() - Method in class de.codengine.tankerkoenig.models.mapper.Location
-
Returns the house number of the
Station.
- getId() - Method in class de.codengine.tankerkoenig.models.mapper.Station
-
Returns the stations unique ID
- getInstance() - Static method in class de.codengine.tankerkoenig.client.ClientExecutorFactoryImpl
-
Returns the factory instance
- getInstance() - Static method in class de.codengine.tankerkoenig.models.mapper.GsonMapper
-
- getLat() - Method in class de.codengine.tankerkoenig.models.mapper.Location
-
Returns the latitude of the
Station
- getLicense() - Method in interface de.codengine.tankerkoenig.models.requests.Result
-
- getLng() - Method in class de.codengine.tankerkoenig.models.mapper.Location
-
Returns the longitude of the
Station
- getLocation() - Method in class de.codengine.tankerkoenig.models.mapper.Station
-
Returns the stations location data
- getMessage() - Method in interface de.codengine.tankerkoenig.models.requests.Result
-
- getName() - Method in class de.codengine.tankerkoenig.models.mapper.Station
-
Returns the stations name
- getOpeningTimes() - Method in class de.codengine.tankerkoenig.models.mapper.Station
-
Returns an unmodifyable list of opening times for the station.
- getOverridingOpeningTimes() - Method in class de.codengine.tankerkoenig.models.mapper.Station
-
Returns an unmodifyable list of overriding opening times for the station.
- getPrice(GasPrices.GasType) - Method in class de.codengine.tankerkoenig.models.mapper.GasPrices
-
Returns the gas price, if available
- getPrice() - Method in class de.codengine.tankerkoenig.models.mapper.Station
-
- getStart() - Method in class de.codengine.tankerkoenig.models.mapper.OpeningTime
-
Returns the start time, which (unreliably) is in the format HH:MM:ss
- getState() - Method in class de.codengine.tankerkoenig.models.mapper.Location
-
- getStation() - Method in class de.codengine.tankerkoenig.models.requests.StationDetailResult
-
Returns the station, which is null in case of an error
- getStations() - Method in class de.codengine.tankerkoenig.models.requests.StationListResult
-
Returns an unmodifyable list of stations, which might be empty
- getStatus() - Method in class de.codengine.tankerkoenig.models.mapper.GasPrices
-
Returns the stations status / availability.
- getStatus() - Method in interface de.codengine.tankerkoenig.models.requests.Result
-
- getStreetName() - Method in class de.codengine.tankerkoenig.models.mapper.Location
-
Returns the street name of the
Station
- getText() - Method in class de.codengine.tankerkoenig.models.mapper.OpeningTime
-
Returns the original string of the opening time, which is useful in case there was an error
parsing the opening time the regular way
- getUrl() - Method in exception de.codengine.tankerkoenig.exception.ClientExecutorException
-
Returns the URL of the call where the exception occured
- getZipCode() - Method in class de.codengine.tankerkoenig.models.mapper.Location
-
Returns the zip code of the
Station
- GsonMapper - Class in de.codengine.tankerkoenig.models.mapper
-
Default JSON Mapper which utilizes Gson
- valueOf(String) - Static method in enum de.codengine.tankerkoenig.models.mapper.GasPrices.GasType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.codengine.tankerkoenig.models.mapper.GasPrices.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.codengine.tankerkoenig.models.mapper.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.codengine.tankerkoenig.models.requests.CorrectionRequest.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.codengine.tankerkoenig.models.requests.GasRequestType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.codengine.tankerkoenig.models.requests.Request.Method
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.codengine.tankerkoenig.models.requests.Result.ResponseStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.codengine.tankerkoenig.models.requests.StationListRequest.SortingRequestType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum de.codengine.tankerkoenig.models.mapper.GasPrices.GasType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum de.codengine.tankerkoenig.models.mapper.GasPrices.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum de.codengine.tankerkoenig.models.mapper.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum de.codengine.tankerkoenig.models.requests.CorrectionRequest.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum de.codengine.tankerkoenig.models.requests.GasRequestType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum de.codengine.tankerkoenig.models.requests.Request.Method
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum de.codengine.tankerkoenig.models.requests.Result.ResponseStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum de.codengine.tankerkoenig.models.requests.StationListRequest.SortingRequestType
-
Returns an array containing the constants of this enum type, in
the order they are declared.