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 void
afterPropertiesSet()
afterPropertiesSetjava.lang.String
getDescription()
getDescriptionjava.util.Date
getJobCompletedDate()
getJobCompletedDatejava.util.Date
getJobStartedDate()
getJobStartedDatejava.lang.String
getName()
getNameReportDefinition
getReportDefinition()
getReportDefinitionlong
getRetainInterval()
getRetainIntervalvoid
setJobCompletedDate(java.util.Date jobCompletedDate)
setJobCompletedDatevoid
setJobStartedDate(java.util.Date jobStartedDate)
setJobStartedDatevoid
setReportDefinition(ReportDefinition reportDefinition)
setReportDefinitionjava.lang.String
toString()
-
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:
getJobCompletedDate
in interfaceReportInstance
- Returns:
- a
Date
object.
-
getJobStartedDate
public java.util.Date getJobStartedDate()
getJobStartedDate
- Specified by:
getJobStartedDate
in interfaceReportInstance
- Returns:
- a
Date
object.
-
getName
public java.lang.String getName()
getName
- Specified by:
getName
in interfaceReportInstance
- Returns:
- a
String
object.
-
getDescription
public java.lang.String getDescription()
getDescription
- Specified by:
getDescription
in interfaceReportInstance
- Returns:
- a
String
object.
-
getRetainInterval
public long getRetainInterval()
getRetainInterval
- Specified by:
getRetainInterval
in interfaceReportInstance
- Returns:
- a long.
-
getReportDefinition
public ReportDefinition getReportDefinition()
getReportDefinition
- Specified by:
getReportDefinition
in interfaceReportInstance
- Returns:
- a
ReportDefinition
object.
-
setReportDefinition
public void setReportDefinition(ReportDefinition reportDefinition)
setReportDefinition
- Specified by:
setReportDefinition
in interfaceReportInstance
- Parameters:
reportDefinition
- aReportDefinition
object.
-
setJobCompletedDate
public void setJobCompletedDate(java.util.Date jobCompletedDate)
setJobCompletedDate
- Parameters:
jobCompletedDate
- aDate
object.
-
setJobStartedDate
public void setJobStartedDate(java.util.Date jobStartedDate)
setJobStartedDate
- Parameters:
jobStartedDate
- aDate
object.
-
afterPropertiesSet
public void afterPropertiesSet()
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-