Class EnvironmentAirPollutantsClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.environment.airpollutants.EnvironmentAirPollutantsClient
-
public class EnvironmentAirPollutantsClient extends AbstractClient
Client which handles environment air pollutants data fetching.
- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description EnvironmentAirPollutantsClient()Default constructor.EnvironmentAirPollutantsClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getEmissionsFromAgriculture()Fetch all emissions from agriculture data.List<ResponseModel>getEmissionsFromAgriculture(Collection<String> airPollutants, Collection<String> subSectors, Collection<Integer> years)Fetch all emissions from agriculture data which match the input constraints.List<ResponseModel>getEmissionsFromDomesticTransport()Fetch all emissions from domestic transport data.List<ResponseModel>getEmissionsFromDomesticTransport(Collection<String> airPollutants, Collection<String> modesOfTransports, Collection<Integer> years)Fetch all emissions from domestic transport data which match the input constraints.List<ResponseModel>getEmissionsFromElectricityAndHeating()Fetch all emissions from electricity and heating data.List<ResponseModel>getEmissionsFromElectricityAndHeating(Collection<String> airPollutants, Collection<String> fuelTypes, Collection<Integer> years)Fetch all emissions from electricity and heating data which match the input constraints.List<ResponseModel>getEmissionsFromHeatingOfHousesAndBuildings()Fetch all emissions from heating of houses and buildings data.List<ResponseModel>getEmissionsFromHeatingOfHousesAndBuildings(Collection<String> airPollutants, Collection<String> subSectors, Collection<Integer> years)Fetch all emissions from heating of houses and buildings data which match the input constraints.List<ResponseModel>getEmissionsFromIndustry()Fetch all emissions from industry data.List<ResponseModel>getEmissionsFromIndustry(Collection<String> airPollutants, Collection<String> industries, Collection<Integer> years)Fetch all emissions from industry data which match the input constraints.List<ResponseModel>getEmissionsFromInternationalTransport()Fetch all emissions from international transport data.List<ResponseModel>getEmissionsFromInternationalTransport(Collection<String> airPollutants, Collection<String> activities, Collection<Integer> years)Fetch all emissions from international transport data which match the input constraints.List<ResponseModel>getEmissionsFromOffroadVehiclesAndMachinery()Fetch all emissions from off-road vehicles and machinery data.List<ResponseModel>getEmissionsFromOffroadVehiclesAndMachinery(Collection<String> airPollutants, Collection<String> subSectors, Collection<Integer> years)Fetch all emissions from off-road vehicles and machinery data which match the input constraints.List<ResponseModel>getEmissionsFromSolventUse()Fetch all emissions from solvent use data.List<ResponseModel>getEmissionsFromSolventUse(Collection<String> airPollutants, Collection<String> areas, Collection<Integer> years)Fetch all emissions from solvent use data which match the input constraints.List<ResponseModel>getEmissionsFromWaste()Fetch all emissions from waste data.List<ResponseModel>getEmissionsFromWaste(Collection<String> airPollutants, Collection<String> subSectors, Collection<Integer> years)Fetch all emissions from waste data which match the input constraints.List<ResponseModel>getTotalEmissions()Fetch all total emissions data.List<ResponseModel>getTotalEmissions(Collection<String> airPollutants, Collection<String> sectors, Collection<Integer> years)Fetch all total emissions data which match the input constraints.URLEndpointgetUrl()Returns the URL endpoint which this client represents.-
Methods inherited from class com.github.dannil.scbjavaclient.client.AbstractClient
doGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocale, setLocalizationLocale
-
-
-
-
Constructor Detail
-
EnvironmentAirPollutantsClient
public EnvironmentAirPollutantsClient()
Default constructor.
-
EnvironmentAirPollutantsClient
public EnvironmentAirPollutantsClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getTotalEmissions
public List<ResponseModel> getTotalEmissions()
Fetch all total emissions data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getTotalEmissions(Collection, Collection, Collection)
-
getTotalEmissions
public List<ResponseModel> getTotalEmissions(Collection<String> airPollutants, Collection<String> sectors, Collection<Integer> years)
Fetch all total emissions data which match the input constraints.
- Parameters:
airPollutants- the air pollutantssectors- the sectorsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getEmissionsFromOffroadVehiclesAndMachinery
public List<ResponseModel> getEmissionsFromOffroadVehiclesAndMachinery()
Fetch all emissions from off-road vehicles and machinery data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getEmissionsFromOffroadVehiclesAndMachinery(Collection, Collection, Collection)
-
getEmissionsFromOffroadVehiclesAndMachinery
public List<ResponseModel> getEmissionsFromOffroadVehiclesAndMachinery(Collection<String> airPollutants, Collection<String> subSectors, Collection<Integer> years)
Fetch all emissions from off-road vehicles and machinery data which match the input constraints.
- Parameters:
airPollutants- the air pollutantssubSectors- the sub sectorsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getEmissionsFromWaste
public List<ResponseModel> getEmissionsFromWaste()
Fetch all emissions from waste data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getEmissionsFromWaste(Collection, Collection, Collection)
-
getEmissionsFromWaste
public List<ResponseModel> getEmissionsFromWaste(Collection<String> airPollutants, Collection<String> subSectors, Collection<Integer> years)
Fetch all emissions from waste data which match the input constraints.
- Parameters:
airPollutants- the air pollutantssubSectors- the sub sectorsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getEmissionsFromElectricityAndHeating
public List<ResponseModel> getEmissionsFromElectricityAndHeating()
Fetch all emissions from electricity and heating data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getEmissionsFromElectricityAndHeating(Collection, Collection, Collection)
-
getEmissionsFromElectricityAndHeating
public List<ResponseModel> getEmissionsFromElectricityAndHeating(Collection<String> airPollutants, Collection<String> fuelTypes, Collection<Integer> years)
Fetch all emissions from electricity and heating data which match the input constraints.
- Parameters:
airPollutants- the air pollutantsfuelTypes- the fuel typesyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getEmissionsFromIndustry
public List<ResponseModel> getEmissionsFromIndustry()
Fetch all emissions from industry data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getEmissionsFromIndustry(Collection, Collection, Collection)
-
getEmissionsFromIndustry
public List<ResponseModel> getEmissionsFromIndustry(Collection<String> airPollutants, Collection<String> industries, Collection<Integer> years)
Fetch all emissions from industry data which match the input constraints.
- Parameters:
airPollutants- the air pollutantsindustries- the industriesyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getEmissionsFromDomesticTransport
public List<ResponseModel> getEmissionsFromDomesticTransport()
Fetch all emissions from domestic transport data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getEmissionsFromDomesticTransport(Collection, Collection, Collection)
-
getEmissionsFromDomesticTransport
public List<ResponseModel> getEmissionsFromDomesticTransport(Collection<String> airPollutants, Collection<String> modesOfTransports, Collection<Integer> years)
Fetch all emissions from domestic transport data which match the input constraints.
- Parameters:
airPollutants- the air pollutantsmodesOfTransports- the modes of transportsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getEmissionsFromAgriculture
public List<ResponseModel> getEmissionsFromAgriculture()
Fetch all emissions from agriculture data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getEmissionsFromAgriculture(Collection, Collection, Collection)
-
getEmissionsFromAgriculture
public List<ResponseModel> getEmissionsFromAgriculture(Collection<String> airPollutants, Collection<String> subSectors, Collection<Integer> years)
Fetch all emissions from agriculture data which match the input constraints.
- Parameters:
airPollutants- the air pollutantssubSectors- the sub sectorsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getEmissionsFromSolventUse
public List<ResponseModel> getEmissionsFromSolventUse()
Fetch all emissions from solvent use data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getEmissionsFromSolventUse(Collection, Collection, Collection)
-
getEmissionsFromSolventUse
public List<ResponseModel> getEmissionsFromSolventUse(Collection<String> airPollutants, Collection<String> areas, Collection<Integer> years)
Fetch all emissions from solvent use data which match the input constraints.
- Parameters:
airPollutants- the air pollutantsareas- the areasyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getEmissionsFromHeatingOfHousesAndBuildings
public List<ResponseModel> getEmissionsFromHeatingOfHousesAndBuildings()
Fetch all emissions from heating of houses and buildings data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getEmissionsFromHeatingOfHousesAndBuildings(Collection, Collection, Collection)
-
getEmissionsFromHeatingOfHousesAndBuildings
public List<ResponseModel> getEmissionsFromHeatingOfHousesAndBuildings(Collection<String> airPollutants, Collection<String> subSectors, Collection<Integer> years)
Fetch all emissions from heating of houses and buildings data which match the input constraints.
- Parameters:
airPollutants- the air pollutantssubSectors- the sub sectorsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getEmissionsFromInternationalTransport
public List<ResponseModel> getEmissionsFromInternationalTransport()
Fetch all emissions from international transport data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getEmissionsFromInternationalTransport(Collection, Collection, Collection)
-
getEmissionsFromInternationalTransport
public List<ResponseModel> getEmissionsFromInternationalTransport(Collection<String> airPollutants, Collection<String> activities, Collection<Integer> years)
Fetch all emissions from international transport data which match the input constraints.
- Parameters:
airPollutants- the air pollutantsactivities- the activitiesyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getUrl
public URLEndpoint getUrl()
Description copied from class:AbstractClientReturns the URL endpoint which this client represents.
- Specified by:
getUrlin classAbstractClient- Returns:
- the URL endpoint for this client
-
-