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 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()
afterPropertiesSetString
getDescription()
getDescriptionDate
getJobCompletedDate()
getJobCompletedDateDate
getJobStartedDate()
getJobStartedDateString
getName()
getNameReportDefinition
getReportDefinition()
getReportDefinitionlong
getRetainInterval()
getRetainIntervalvoid
setJobCompletedDate(Date jobCompletedDate)
setJobCompletedDatevoid
setJobStartedDate(Date jobStartedDate)
setJobStartedDatevoid
setReportDefinition(ReportDefinition reportDefinition)
setReportDefinitionString
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 Date getJobCompletedDate()
getJobCompletedDate
- Specified by:
getJobCompletedDate
in interfaceReportInstance
- Returns:
- a
Date
object.
-
getJobStartedDate
public Date getJobStartedDate()
getJobStartedDate
- Specified by:
getJobStartedDate
in interfaceReportInstance
- Returns:
- a
Date
object.
-
getName
public String getName()
getName
- Specified by:
getName
in interfaceReportInstance
- Returns:
- a
String
object.
-
getDescription
public 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(Date jobCompletedDate)
setJobCompletedDate
- Parameters:
jobCompletedDate
- aDate
object.
-
setJobStartedDate
public void setJobStartedDate(Date jobStartedDate)
setJobStartedDate
- Parameters:
jobStartedDate
- aDate
object.
-
afterPropertiesSet
public void afterPropertiesSet()
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
-