Package com.aerisweather.aeris.maps
Class AerisMapsDefaultPointParameters
- java.lang.Object
-
- com.aerisweather.aeris.maps.AerisMapsDefaultPointParameters
-
public class AerisMapsDefaultPointParameters extends Object
Wrapper class for holding the point data options used to talk to the Aeris API such as from parameters, sort parameters, limit parameters ect.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AerisMapsDefaultPointParameters.SpecificPointParameters
Specific point parameter is a wrapper class that holds the parameter values needed to pass to a parameter builder.
-
Constructor Summary
Constructors Constructor Description AerisMapsDefaultPointParameters(android.content.Context context)
Initialize with context to pull the resources from the default xml values.
-
Method Summary
-
-
-
Method Detail
-
getWarningParameters
public AerisMapsDefaultPointParameters.SpecificPointParameters getWarningParameters()
Get the warning parameters- Returns:
- warning parameters
-
getLightningParameters
public AerisMapsDefaultPointParameters.SpecificPointParameters getLightningParameters()
Get the lightning parameters- Returns:
- lightning parameters
-
getStormCellParameters
public AerisMapsDefaultPointParameters.SpecificPointParameters getStormCellParameters()
Get the storm cell parameters- Returns:
- storm cell parameters
-
getStormReportsParameters
public AerisMapsDefaultPointParameters.SpecificPointParameters getStormReportsParameters()
Gets the storm reports parameters- Returns:
- storm reports parameters
-
getFiresParameters
public AerisMapsDefaultPointParameters.SpecificPointParameters getFiresParameters()
Gets the fire parameters- Returns:
- fire parameters
-
getEarthquakesParameters
public AerisMapsDefaultPointParameters.SpecificPointParameters getEarthquakesParameters()
Gets the earthquakes parameters- Returns:
- earthquakes parameters
-
getRecordsParameters
public AerisMapsDefaultPointParameters.SpecificPointParameters getRecordsParameters()
Gets the Records parameters- Returns:
- Records parameters
-
getTropicalParameters
public AerisMapsDefaultPointParameters.SpecificPointParameters getTropicalParameters()
Gets the Tropical parameters- Returns:
- Tropical parameters
-
getTropicalArchiveParameters
public AerisMapsDefaultPointParameters.SpecificPointParameters getTropicalArchiveParameters()
-
getAirQualityParameters
public AerisMapsDefaultPointParameters.SpecificPointParameters getAirQualityParameters()
-
setWarningParameters
public void setWarningParameters(String sort, int limit, String query, String from)
Set the warning parameters programmatically. This will override the defaults.- Parameters:
sort
- sort parameters to use. Can be null.limit
- limit parameter to use. Cannot be null.query
- query parameter to use. Can be null.from
- from parameter to use. Can be null.
-
setLightningParameters
public void setLightningParameters(String sort, int limit, String query, String from)
Set the Lightning parameters programmatically. This will override the defaults.- Parameters:
sort
- sort parameters to use. Can be null.limit
- limit parameter to use. Cannot be null.query
- query parameter to use. Can be null.from
- from parameter to use. Can be null.
-
setStormCellParameters
public void setStormCellParameters(String sort, int limit, String query, String from)
Set the StormCells parameters programmatically. This will override the defaults.- Parameters:
sort
- sort parameters to use. Can be null.limit
- limit parameter to use. Cannot be null.query
- query parameter to use. Can be null.from
- from parameter to use. Can be null.
-
setStormReportsParameters
public void setStormReportsParameters(String sort, int limit, String query, String from)
Set the Storm reports parameters programmatically. This will override the defaults.- Parameters:
sort
- sort parameters to use. Can be null.limit
- limit parameter to use. Cannot be null.query
- query parameter to use. Can be null.from
- from parameter to use. Can be null.
-
setFiresParameters
public void setFiresParameters(String sort, int limit, String query, String from)
Set the fires parameters programmatically. This will override the defaults.- Parameters:
sort
- sort parameters to use. Can be null.limit
- limit parameter to use. Cannot be null.query
- query parameter to use. Can be null.from
- from parameter to use. Can be null.
-
setEarthquakesParameters
public void setEarthquakesParameters(String sort, int limit, String query, String from)
Set the earthquakes parameters programmatically. This will override the defaults.- Parameters:
sort
- sort parameters to use. Can be null.limit
- limit parameter to use. Cannot be null.query
- query parameter to use. Can be null.from
- from parameter to use. Can be null.
-
setRecordsParameters
public void setRecordsParameters(String sort, int limit, String query, String from)
Set the Records parameters programmatically. This will override the defaults.- Parameters:
sort
- sort parameters to use. Can be null.limit
- limit parameter to use. Cannot be null.query
- query parameter to use. Can be null.from
- from parameter to use. Can be null.
-
setTropicalParameters
public void setTropicalParameters(String sort, int limit, String query, String from)
Set the Tropical Cyclones parameters programmatically. This will override the defaults.- Parameters:
sort
- sort parameters to use. Can be null.limit
- limit parameter to use. Cannot be null.query
- query parameter to use. Can be null.from
- from parameter to use. Can be null.
-
setTropicalArchiveParameters
public void setTropicalArchiveParameters(String sort, int limit, String query, String from)
-
setAirQualityParameters
public void setAirQualityParameters(String sort, int limit, String query, String from)
-
isDebugEnabled
public boolean isDebugEnabled()
Checks whether or not debug is enabled.- Returns:
- the debugEnabled
-
setDebugEnabled
public void setDebugEnabled(boolean debugEnabled)
Set whether the debug is enabled.- Parameters:
debugEnabled
- the debugEnabled to set
-
-