Class PackageReport
- java.lang.Object
-
- org.opennms.netmgt.config.statsd.model.PackageReport
-
public class PackageReport extends Object
Represents a report that is configured on a specific package.- Version:
- $Id: $
- Author:
- DJ Gregor
- See Also:
Report
,StatsdPackage
-
-
Constructor Summary
Constructors Constructor Description PackageReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(String key, String value)
addParameterMap<String,String>
getAggregateParameters()
getAggregateParametersString
getDescription()
getDescriptionStatsdPackage
getPackage()
getPackageMap<String,String>
getParameters()
getParametersReport
getReport()
getReportLong
getRetainInterval()
getRetainIntervalString
getSchedule()
getScheduleboolean
isEnabled()
isEnabledvoid
setDescription(String description)
setDescriptionvoid
setEnabled(boolean enabled)
setEnabledvoid
setPackage(StatsdPackage pkg)
setPackagevoid
setParameters(Map<String,String> parameters)
setParametersvoid
setReport(Report report)
setReportvoid
setRetainInterval(Long retainInterval)
setRetainIntervalvoid
setSchedule(String schedule)
setSchedule
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
isEnabled
- Returns:
- a boolean.
-
setEnabled
public void setEnabled(boolean enabled)
setEnabled
- Parameters:
enabled
- a boolean.
-
getParameters
public Map<String,String> getParameters()
getParameters
- Returns:
- a
LinkedHashMap
object.
-
setParameters
public void setParameters(Map<String,String> parameters)
setParameters
- Parameters:
parameters
- aLinkedHashMap
object.
-
getAggregateParameters
public Map<String,String> getAggregateParameters()
getAggregateParameters
- Returns:
- a
LinkedHashMap
object.
-
setSchedule
public void setSchedule(String schedule)
setSchedule
- Parameters:
schedule
- aString
object.
-
setDescription
public void setDescription(String description)
setDescription
- Parameters:
description
- aString
object.
-
setRetainInterval
public void setRetainInterval(Long retainInterval)
setRetainInterval
- Parameters:
retainInterval
- aLong
object.
-
getPackage
public StatsdPackage getPackage()
getPackage
- Returns:
- a
StatsdPackage
object.
-
setPackage
public void setPackage(StatsdPackage pkg)
setPackage
- Parameters:
pkg
- aStatsdPackage
object.
-
-