org.opennms.netmgt.statsd
Class FilteredReportInstance

java.lang.Object
  extended by org.opennms.netmgt.statsd.AbstractReportInstance
      extended by org.opennms.netmgt.statsd.FilteredReportInstance
All Implemented Interfaces:
ReportInstance, org.springframework.beans.factory.InitializingBean

public class FilteredReportInstance
extends AbstractReportInstance
implements ReportInstance, org.springframework.beans.factory.InitializingBean

Author:
DJ Gregor

Constructor Summary
FilteredReportInstance(org.opennms.netmgt.model.AttributeStatisticVisitorWithResults visitor)
           
 
Method Summary
 void afterPropertiesSet()
           
 java.lang.String getAttributeMatch()
           
 java.lang.String getConsolidationFunction()
           
 int getCount()
           
 long getEndTime()
           
 java.lang.String getResourceTypeMatch()
           
 java.util.SortedSet<org.opennms.netmgt.model.AttributeStatistic> getResults()
           
 long getStartTime()
           
 void setAttributeMatch(java.lang.String attr)
           
 void setConsolidationFunction(java.lang.String cf)
           
 void setCount(int count)
           
 void setEndTime(long end)
           
 void setFilter(java.lang.String filter)
           
 void setFilterDao(org.opennms.netmgt.dao.FilterDao filterDao)
           
 void setResourceDao(org.opennms.netmgt.dao.ResourceDao resourceDao)
           
 void setResourceTypeMatch(java.lang.String resourceType)
           
 void setRrdDao(org.opennms.netmgt.dao.RrdDao rrdDao)
           
 void setStartTime(long start)
           
 void walk()
           
 
Methods inherited from class org.opennms.netmgt.statsd.AbstractReportInstance
getDescription, getJobCompletedDate, getJobStartedDate, getName, getReportDefinition, getRetainInterval, setJobCompletedDate, setJobStartedDate, setReportDefinition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opennms.netmgt.statsd.ReportInstance
getDescription, getJobCompletedDate, getJobStartedDate, getName, getReportDefinition, getRetainInterval, setReportDefinition
 

Constructor Detail

FilteredReportInstance

public FilteredReportInstance(org.opennms.netmgt.model.AttributeStatisticVisitorWithResults visitor)
Method Detail

setFilterDao

public void setFilterDao(org.opennms.netmgt.dao.FilterDao filterDao)

setFilter

public void setFilter(java.lang.String filter)

setResourceDao

public void setResourceDao(org.opennms.netmgt.dao.ResourceDao resourceDao)

setRrdDao

public void setRrdDao(org.opennms.netmgt.dao.RrdDao rrdDao)

walk

public void walk()
Specified by:
walk in interface ReportInstance

getResults

public java.util.SortedSet<org.opennms.netmgt.model.AttributeStatistic> getResults()
Specified by:
getResults in interface ReportInstance

getResourceTypeMatch

public java.lang.String getResourceTypeMatch()
Specified by:
getResourceTypeMatch in interface ReportInstance

setResourceTypeMatch

public void setResourceTypeMatch(java.lang.String resourceType)
Specified by:
setResourceTypeMatch in interface ReportInstance

getAttributeMatch

public java.lang.String getAttributeMatch()
Specified by:
getAttributeMatch in interface ReportInstance

setAttributeMatch

public void setAttributeMatch(java.lang.String attr)
Specified by:
setAttributeMatch in interface ReportInstance

getStartTime

public long getStartTime()
Specified by:
getStartTime in interface ReportInstance

setStartTime

public void setStartTime(long start)
Specified by:
setStartTime in interface ReportInstance

getEndTime

public long getEndTime()
Specified by:
getEndTime in interface ReportInstance

setEndTime

public void setEndTime(long end)
Specified by:
setEndTime in interface ReportInstance

getConsolidationFunction

public java.lang.String getConsolidationFunction()
Specified by:
getConsolidationFunction in interface ReportInstance

setConsolidationFunction

public void setConsolidationFunction(java.lang.String cf)
Specified by:
setConsolidationFunction in interface ReportInstance

getCount

public int getCount()
Specified by:
getCount in interface ReportInstance

setCount

public void setCount(int count)
Specified by:
setCount in interface ReportInstance

afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Overrides:
afterPropertiesSet in class AbstractReportInstance


Copyright © 2007. All Rights Reserved.