Package org.opennms.netmgt.statsd
Class AbstractReportInstance
- java.lang.Object
-
- org.opennms.netmgt.statsd.AbstractReportInstance
-
- All Implemented Interfaces:
ReportInstance,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
BaseReportInstance
public abstract class AbstractReportInstance extends java.lang.Object implements ReportInstance, org.springframework.beans.factory.InitializingBean
Abstract AbstractReportInstance class.
- Version:
- $Id: $
- Author:
- DJ Gregor
-
-
Constructor Summary
Constructors Constructor Description AbstractReportInstance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()afterPropertiesSetjava.lang.StringgetDescription()getDescriptionjava.util.DategetJobCompletedDate()getJobCompletedDatejava.util.DategetJobStartedDate()getJobStartedDatejava.lang.StringgetName()getNameReportDefinitiongetReportDefinition()getReportDefinitionlonggetRetainInterval()getRetainIntervalvoidsetJobCompletedDate(java.util.Date jobCompletedDate)setJobCompletedDatevoidsetJobStartedDate(java.util.Date jobStartedDate)setJobStartedDatevoidsetReportDefinition(ReportDefinition reportDefinition)setReportDefinitionjava.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.statsd.ReportInstance
getAttributeMatch, getConsolidationFunction, getCount, getEndTime, getResourceAttributeKey, getResourceAttributeValueMatch, getResourceTypeMatch, getResults, getStartTime, setAttributeMatch, setConsolidationFunction, setCount, setEndTime, setResourceAttributeKey, setResourceAttributeValueMatch, setResourceTypeMatch, setStartTime, walk
-
-
-
-
Method Detail
-
getJobCompletedDate
public java.util.Date getJobCompletedDate()
getJobCompletedDate
- Specified by:
getJobCompletedDatein interfaceReportInstance- Returns:
- a
Dateobject.
-
getJobStartedDate
public java.util.Date getJobStartedDate()
getJobStartedDate
- Specified by:
getJobStartedDatein interfaceReportInstance- Returns:
- a
Dateobject.
-
getName
public java.lang.String getName()
getName
- Specified by:
getNamein interfaceReportInstance- Returns:
- a
Stringobject.
-
getDescription
public java.lang.String getDescription()
getDescription
- Specified by:
getDescriptionin interfaceReportInstance- Returns:
- a
Stringobject.
-
getRetainInterval
public long getRetainInterval()
getRetainInterval
- Specified by:
getRetainIntervalin interfaceReportInstance- Returns:
- a long.
-
getReportDefinition
public ReportDefinition getReportDefinition()
getReportDefinition
- Specified by:
getReportDefinitionin interfaceReportInstance- Returns:
- a
ReportDefinitionobject.
-
setReportDefinition
public void setReportDefinition(ReportDefinition reportDefinition)
setReportDefinition
- Specified by:
setReportDefinitionin interfaceReportInstance- Parameters:
reportDefinition- aReportDefinitionobject.
-
setJobCompletedDate
public void setJobCompletedDate(java.util.Date jobCompletedDate)
setJobCompletedDate
- Parameters:
jobCompletedDate- aDateobject.
-
setJobStartedDate
public void setJobStartedDate(java.util.Date jobStartedDate)
setJobStartedDate
- Parameters:
jobStartedDate- aDateobject.
-
afterPropertiesSet
public void afterPropertiesSet()
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-