org.opennms.netmgt.collectd
Class HttpCollector.HttpCollectionSet

java.lang.Object
  extended by org.opennms.netmgt.collectd.HttpCollector.HttpCollectionSet
All Implemented Interfaces:
CollectionSet
Enclosing class:
HttpCollector

protected class HttpCollector.HttpCollectionSet
extends Object
implements CollectionSet


Method Summary
 void collect()
           
 CollectionAgent getAgent()
           
 Map<String,String> getParameters()
           
 int getStatus()
           
 Uri getUriDef()
           
 boolean ignorePersist()
           
 void setAgent(CollectionAgent agent)
           
 void setParameters(Map<String,String> parameters)
           
 void setUriDef(Uri uriDef)
           
 void storeResults(List<org.opennms.netmgt.collectd.HttpCollector.HttpCollectionAttribute> results, org.opennms.netmgt.collectd.HttpCollector.HttpCollectionResource collectionResource)
           
 void visit(CollectionSetVisitor visitor)
          Provide a way to visit all the values in the CollectionSet, for any appropriate purposes (persisting, thresholding, or others) The expectation is that calling this method will ultimately call visitResource, visitGroup and visitAttribute (as appropriate)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUriDef

public Uri getUriDef()

setUriDef

public void setUriDef(Uri uriDef)

collect

public void collect()

getAgent

public CollectionAgent getAgent()

setAgent

public void setAgent(CollectionAgent agent)

getParameters

public Map<String,String> getParameters()

setParameters

public void setParameters(Map<String,String> parameters)

getStatus

public int getStatus()
Specified by:
getStatus in interface CollectionSet

storeResults

public void storeResults(List<org.opennms.netmgt.collectd.HttpCollector.HttpCollectionAttribute> results,
                         org.opennms.netmgt.collectd.HttpCollector.HttpCollectionResource collectionResource)

visit

public void visit(CollectionSetVisitor visitor)
Description copied from interface: CollectionSet
Provide a way to visit all the values in the CollectionSet, for any appropriate purposes (persisting, thresholding, or others) The expectation is that calling this method will ultimately call visitResource, visitGroup and visitAttribute (as appropriate)

Specified by:
visit in interface CollectionSet

ignorePersist

public boolean ignorePersist()
Specified by:
ignorePersist in interface CollectionSet


Copyright © 2009. All Rights Reserved.