Class PackageReport
- java.lang.Object
-
- org.opennms.netmgt.config.statsd.model.PackageReport
-
public class PackageReport extends java.lang.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(java.lang.String key, java.lang.String value)
addParameterjava.util.Map<java.lang.String,java.lang.String>
getAggregateParameters()
getAggregateParametersjava.lang.String
getDescription()
getDescriptionStatsdPackage
getPackage()
getPackagejava.util.Map<java.lang.String,java.lang.String>
getParameters()
getParametersReport
getReport()
getReportjava.lang.Long
getRetainInterval()
getRetainIntervaljava.lang.String
getSchedule()
getScheduleboolean
isEnabled()
isEnabledvoid
setDescription(java.lang.String description)
setDescriptionvoid
setEnabled(boolean enabled)
setEnabledvoid
setPackage(StatsdPackage pkg)
setPackagevoid
setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
setParametersvoid
setReport(Report report)
setReportvoid
setRetainInterval(java.lang.Long retainInterval)
setRetainIntervalvoid
setSchedule(java.lang.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 java.util.Map<java.lang.String,java.lang.String> getParameters()
getParameters
- Returns:
- a
LinkedHashMap
object.
-
setParameters
public void setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
setParameters
- Parameters:
parameters
- aLinkedHashMap
object.
-
addParameter
public void addParameter(java.lang.String key, java.lang.String value)
addParameter
- Parameters:
key
- aString
object.value
- aString
object.
-
getAggregateParameters
public java.util.Map<java.lang.String,java.lang.String> getAggregateParameters()
getAggregateParameters
- Returns:
- a
LinkedHashMap
object.
-
getSchedule
public java.lang.String getSchedule()
getSchedule
- Returns:
- a
String
object.
-
setSchedule
public void setSchedule(java.lang.String schedule)
setSchedule
- Parameters:
schedule
- aString
object.
-
getDescription
public java.lang.String getDescription()
getDescription
- Returns:
- a
String
object.
-
setDescription
public void setDescription(java.lang.String description)
setDescription
- Parameters:
description
- aString
object.
-
getRetainInterval
public java.lang.Long getRetainInterval()
getRetainInterval
- Returns:
- a
Long
object.
-
setRetainInterval
public void setRetainInterval(java.lang.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.
-
-