Package org.opennms.netmgt.statsd
Class ReportDefinition
- java.lang.Object
-
- org.opennms.netmgt.statsd.ReportDefinition
-
-
Constructor Summary
Constructors Constructor Description ReportDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
afterPropertiesSetReportInstance
createReport(NodeDao nodeDao, ResourceDao resourceDao, MeasurementFetchStrategy fetchStrategy, FilterDao filterDao)
createReportString
getAttributeMatch()
getAttributeMatchString
getConsolidationFunction()
getConsolidationFunctionInteger
getCount()
getCountString
getCronExpression()
getCronExpressionString
getDescription()
getDescriptionString
getName()
getNameRelativeTime
getRelativeTime()
getRelativeTimePackageReport
getReport()
getReportClass<? extends AttributeStatisticVisitorWithResults>
getReportClass()
getReportClassString
getResourceAttributeKey()
getResourceAttributeKeyString
getResourceAttributeValueMatch()
getResourceAttributeValueMatchString
getResourceTypeMatch()
getResourceTypeMatchLong
getRetainInterval()
getRetainIntervalvoid
setAttributeMatch(String attributeMatch)
setAttributeMatchvoid
setConsolidationFunction(String consolidationFunction)
setConsolidationFunctionvoid
setCount(Integer count)
setCountvoid
setRelativeTime(RelativeTime relativeTime)
setRelativeTimevoid
setReport(PackageReport report)
setReportvoid
setReportClass(Class<? extends AttributeStatisticVisitorWithResults> reportClass)
setReportClassvoid
setResourceAttributeKey(String resourceAttributeKey)
setResourceAttributeKeyvoid
setResourceAttributeValueMatch(String resourceAttributeValueMatch)
setResourceAttributeValueMatchvoid
setResourceTypeMatch(String resourceTypeMatch)
setResourceTypeMatchString
toString()
-
-
-
Method Detail
-
setAttributeMatch
public void setAttributeMatch(String attributeMatch)
setAttributeMatch
- Parameters:
attributeMatch
- aString
object.
-
getConsolidationFunction
public String getConsolidationFunction()
getConsolidationFunction
- Returns:
- a
String
object.
-
setConsolidationFunction
public void setConsolidationFunction(String consolidationFunction)
setConsolidationFunction
- Parameters:
consolidationFunction
- aString
object.
-
getResourceTypeMatch
public String getResourceTypeMatch()
getResourceTypeMatch
- Returns:
- a
String
object.
-
setResourceTypeMatch
public void setResourceTypeMatch(String resourceTypeMatch)
setResourceTypeMatch
- Parameters:
resourceTypeMatch
- aString
object.
-
getReportClass
public Class<? extends AttributeStatisticVisitorWithResults> getReportClass()
getReportClass
- Returns:
- a
Class
object.
-
setReportClass
public void setReportClass(Class<? extends AttributeStatisticVisitorWithResults> reportClass)
setReportClass
- Parameters:
reportClass
- aClass
object.
-
getRelativeTime
public RelativeTime getRelativeTime()
getRelativeTime
- Returns:
- a
RelativeTime
object.
-
setRelativeTime
public void setRelativeTime(RelativeTime relativeTime)
setRelativeTime
- Parameters:
relativeTime
- aRelativeTime
object.
-
getReport
public PackageReport getReport()
getReport
- Returns:
- a
PackageReport
object.
-
setReport
public void setReport(PackageReport report)
setReport
- Parameters:
report
- aPackageReport
object.
-
setResourceAttributeKey
public void setResourceAttributeKey(String resourceAttributeKey)
setResourceAttributeKey
- Parameters:
resourceAttributeKey
- aString
object.
-
setResourceAttributeValueMatch
public void setResourceAttributeValueMatch(String resourceAttributeValueMatch)
setResourceAttributeValueMatch
- Parameters:
resourceAttributeValueMatch
- aString
object.
-
getResourceAttributeKey
public String getResourceAttributeKey()
getResourceAttributeKey
- Returns:
- a
String
object.
-
getResourceAttributeValueMatch
public String getResourceAttributeValueMatch()
getResourceAttributeValueMatch
- Returns:
- a
String
object.
-
createReport
public ReportInstance createReport(NodeDao nodeDao, ResourceDao resourceDao, MeasurementFetchStrategy fetchStrategy, FilterDao filterDao) throws Exception
createReport
- Parameters:
resourceDao
- aResourceDao
object.fetchStrategy
- an object.filterDao
- aFilterDao
object.- Returns:
- a
ReportInstance
object. - Throws:
Exception
- if any.
-
afterPropertiesSet
public void afterPropertiesSet()
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
-