org.opennms.netmgt.collectd
Class CollectionSpecification

java.lang.Object
  extended by org.opennms.netmgt.collectd.CollectionSpecification

public class CollectionSpecification
extends java.lang.Object


Constructor Summary
CollectionSpecification(org.opennms.netmgt.config.CollectdPackage wpkg, java.lang.String svcName, java.util.Collection outageCalendars, ServiceCollector collector)
           
 
Method Summary
 int collect(CollectionAgent agent)
           
 long getInterval()
           
 java.lang.String getPackageName()
           
 java.lang.String getServiceName()
           
 void initialize(CollectionAgent agent)
           
 void refresh()
           
 void release(CollectionAgent agent)
           
 boolean scheduledOutage(CollectionAgent agent)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CollectionSpecification

public CollectionSpecification(org.opennms.netmgt.config.CollectdPackage wpkg,
                               java.lang.String svcName,
                               java.util.Collection outageCalendars,
                               ServiceCollector collector)
Method Detail

getPackageName

public java.lang.String getPackageName()

getServiceName

public java.lang.String getServiceName()

getInterval

public long getInterval()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

initialize

public void initialize(CollectionAgent agent)

release

public void release(CollectionAgent agent)

collect

public int collect(CollectionAgent agent)

scheduledOutage

public boolean scheduledOutage(CollectionAgent agent)

refresh

public void refresh()


Copyright © 2007. All Rights Reserved.