Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ApplicationProperties - Class in com.weather.info.properties
- ApplicationProperties() - Constructor for class com.weather.info.properties.ApplicationProperties
C
- com.weather.info - package com.weather.info
- com.weather.info.client - package com.weather.info.client
- com.weather.info.entity - package com.weather.info.entity
- com.weather.info.exception - package com.weather.info.exception
- com.weather.info.model - package com.weather.info.model
- com.weather.info.model.enums - package com.weather.info.model.enums
- com.weather.info.model.open.weather - package com.weather.info.model.open.weather
- com.weather.info.model.open.weather.utils - package com.weather.info.model.open.weather.utils
- com.weather.info.properties - package com.weather.info.properties
- com.weather.info.repository - package com.weather.info.repository
- com.weather.info.rest.v1 - package com.weather.info.rest.v1
- com.weather.info.service - package com.weather.info.service
- com.weather.info.service.impl - package com.weather.info.service.impl
- condition() - Method in record class com.weather.info.model.WeatherResponseVO
-
Returns the value of the
condition
record component. - CoordinatesEntity - Class in com.weather.info.entity
- CoordinatesEntity() - Constructor for class com.weather.info.entity.CoordinatesEntity
D
- date() - Method in record class com.weather.info.model.WeatherResponseVO
-
Returns the value of the
date
record component. - DD_MM_YYYY - Enum constant in enum class com.weather.info.model.enums.SupportedDatePatterns
- DD_SLASH_MM_SLASH_YYYY - Enum constant in enum class com.weather.info.model.enums.SupportedDatePatterns
- description() - Method in record class com.weather.info.model.WeatherResponseVO
-
Returns the value of the
description
record component.
E
- equals(Object) - Method in record class com.weather.info.model.WeatherResponseVO
-
Indicates whether some other object is "equal to" this one.
F
- feelsLike() - Method in record class com.weather.info.model.WeatherResponseVO
-
Returns the value of the
feelsLike
record component. - fetchCoordinatesForZipCode(String) - Method in class com.weather.info.client.OpenWeatherClient
- findByPincode(long) - Method in interface com.weather.info.repository.PincodeRepository
- findByPincodeAndDate(PincodeEntity, LocalDate) - Method in interface com.weather.info.repository.WeatherRepository
G
- GEO_CODING_URL - Static variable in class com.weather.info.model.open.weather.utils.OpenWeatherEndpoints
- getCoordinatesForPincode(long) - Method in class com.weather.info.service.impl.OpenWeatherServiceImpl
- getCoordinatesForPincode(long) - Method in interface com.weather.info.service.OpenWeatherService
-
This method is responsible to fetch Geo-Spatial coordinates data by calling OpenWeather API using OpenWeatherClient
- getSupportedDateRegex() - Static method in enum class com.weather.info.model.enums.SupportedDatePatterns
- getWeather(String, long) - Method in class com.weather.info.rest.v1.WeatherController
- getWeatherForCoordinates(CoordinatesEntity) - Method in class com.weather.info.client.OpenWeatherClient
- getWeatherForPincode(PincodeEntity) - Method in class com.weather.info.service.impl.OpenWeatherServiceImpl
- getWeatherForPincode(PincodeEntity) - Method in interface com.weather.info.service.OpenWeatherService
-
This method is responsible to fetch weather information by taking pincode as parameter.
- getWeatherInformation(long, String) - Method in class com.weather.info.service.impl.WeatherServiceImpl
- getWeatherInformation(long, String) - Method in interface com.weather.info.service.WeatherService
-
This method is responsible to fetch weather information from OpenWeatherAPI and store it in RDBMS.
H
- handleResourceNotFound(ResourceNotFoundException) - Method in class com.weather.info.rest.v1.RestExceptionHandler
- handleRuntimeException(RuntimeException) - Method in class com.weather.info.rest.v1.RestExceptionHandler
- hashCode() - Method in record class com.weather.info.model.WeatherResponseVO
-
Returns a hash code value for this object.
- humidity() - Method in record class com.weather.info.model.WeatherResponseVO
-
Returns the value of the
humidity
record component.
M
- main(String[]) - Static method in class com.weather.info.WeatherInfoServiceApplication
- maximumTemperature() - Method in record class com.weather.info.model.WeatherResponseVO
-
Returns the value of the
maximumTemperature
record component. - minimumTemperature() - Method in record class com.weather.info.model.WeatherResponseVO
-
Returns the value of the
minimumTemperature
record component.
O
- openAPI() - Method in class com.weather.info.WeatherInfoAutoConfiguration
- openWeatherClient(RestTemplate, OpenWeatherConfigProperties) - Method in class com.weather.info.WeatherInfoAutoConfiguration
- OpenWeatherClient - Class in com.weather.info.client
-
OpenWeatherClient is a client class which has methods that internally use RestTemplate to communicate and fetch data from OpenWeatherAPI
- OpenWeatherClient() - Constructor for class com.weather.info.client.OpenWeatherClient
- OpenWeatherConfigProperties - Class in com.weather.info.properties
- OpenWeatherConfigProperties() - Constructor for class com.weather.info.properties.OpenWeatherConfigProperties
- OpenWeatherCoordinatesResponseVO - Class in com.weather.info.model.open.weather
- OpenWeatherCoordinatesResponseVO() - Constructor for class com.weather.info.model.open.weather.OpenWeatherCoordinatesResponseVO
- OpenWeatherEndpoints - Class in com.weather.info.model.open.weather.utils
- OpenWeatherResponseVO - Class in com.weather.info.model.open.weather
- OpenWeatherResponseVO() - Constructor for class com.weather.info.model.open.weather.OpenWeatherResponseVO
- OpenWeatherResponseVO.TemperatureResponse - Class in com.weather.info.model.open.weather
- OpenWeatherResponseVO.WeatherMainResponse - Class in com.weather.info.model.open.weather
- OpenWeatherResponseVO.WindData - Class in com.weather.info.model.open.weather
- openWeatherService(OpenWeatherClient) - Method in class com.weather.info.WeatherInfoAutoConfiguration
- OpenWeatherService - Interface in com.weather.info.service
-
OpenWeatherService is a interface and acts as a service layer to handle business logic while calling OpenWeather APIs via OpenWeatherClient
- OpenWeatherServiceImpl - Class in com.weather.info.service.impl
-
OpenWeatherServiceImpl is a concrete implementation of OpenWeatherService interface and provides the implementation of all the methods of this interface.
- OpenWeatherServiceImpl() - Constructor for class com.weather.info.service.impl.OpenWeatherServiceImpl
P
- parse(String) - Static method in enum class com.weather.info.model.enums.SupportedDatePatterns
- pincode() - Method in record class com.weather.info.model.WeatherResponseVO
-
Returns the value of the
pincode
record component. - PincodeEntity - Class in com.weather.info.entity
- PincodeEntity() - Constructor for class com.weather.info.entity.PincodeEntity
- PincodeRepository - Interface in com.weather.info.repository
- pressure() - Method in record class com.weather.info.model.WeatherResponseVO
-
Returns the value of the
pressure
record component.
R
- ResourceNotFoundException - Exception in com.weather.info.exception
- ResourceNotFoundException(String) - Constructor for exception com.weather.info.exception.ResourceNotFoundException
- RestExceptionHandler - Class in com.weather.info.rest.v1
- RestExceptionHandler() - Constructor for class com.weather.info.rest.v1.RestExceptionHandler
- restTemplate() - Method in class com.weather.info.WeatherInfoAutoConfiguration
S
- SupportedDatePatterns - Enum Class in com.weather.info.model.enums
T
- temperature() - Method in record class com.weather.info.model.WeatherResponseVO
-
Returns the value of the
temperature
record component. - TemperatureResponse() - Constructor for class com.weather.info.model.open.weather.OpenWeatherResponseVO.TemperatureResponse
- toString() - Method in record class com.weather.info.model.WeatherResponseVO
-
Returns a string representation of this record class.
V
- valueOf(String) - Static method in enum class com.weather.info.model.enums.SupportedDatePatterns
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.weather.info.model.enums.SupportedDatePatterns
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WEATHER_URL - Static variable in class com.weather.info.model.open.weather.utils.OpenWeatherEndpoints
- WeatherController - Class in com.weather.info.rest.v1
-
WeatherController has Rest Endpoint that is used to fetch the weather information.
- WeatherController() - Constructor for class com.weather.info.rest.v1.WeatherController
- WeatherEntity - Class in com.weather.info.entity
- WeatherEntity() - Constructor for class com.weather.info.entity.WeatherEntity
- WeatherInfoAutoConfiguration - Class in com.weather.info
- WeatherInfoAutoConfiguration() - Constructor for class com.weather.info.WeatherInfoAutoConfiguration
- WeatherInfoServiceApplication - Class in com.weather.info
- WeatherInfoServiceApplication() - Constructor for class com.weather.info.WeatherInfoServiceApplication
- WeatherMainResponse() - Constructor for class com.weather.info.model.open.weather.OpenWeatherResponseVO.WeatherMainResponse
- WeatherRepository - Interface in com.weather.info.repository
- WeatherResponseVO - Record Class in com.weather.info.model
- WeatherResponseVO(LocalDate, long, double, String, String, double, double, double, double, double, double, double) - Constructor for record class com.weather.info.model.WeatherResponseVO
-
Creates an instance of a
WeatherResponseVO
record class. - weatherService(WeatherRepository, PincodeRepository, OpenWeatherService) - Method in class com.weather.info.WeatherInfoAutoConfiguration
- WeatherService - Interface in com.weather.info.service
-
WeatherService is a interface for the service layer of this application.
- WeatherServiceImpl - Class in com.weather.info.service.impl
-
WeatherServiceImpl is a concrete implementation of WeatherService interface and provides implementation of the methods in WeatherService.
- WeatherServiceImpl() - Constructor for class com.weather.info.service.impl.WeatherServiceImpl
- WindData() - Constructor for class com.weather.info.model.open.weather.OpenWeatherResponseVO.WindData
- windDirection() - Method in record class com.weather.info.model.WeatherResponseVO
-
Returns the value of the
windDirection
record component. - windSpeed() - Method in record class com.weather.info.model.WeatherResponseVO
-
Returns the value of the
windSpeed
record component.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form