Class DatacollectionConfig
- java.lang.Object
-
- org.opennms.netmgt.config.datacollection.DatacollectionConfig
-
- All Implemented Interfaces:
java.io.Serializable
public class DatacollectionConfig extends java.lang.Object implements java.io.Serializable
Top-level element for the datacollection-config.xml configuration file.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatacollectionConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSnmpCollection(SnmpCollection snmpCollection)
boolean
equals(java.lang.Object obj)
java.lang.String
getRrdRepository()
full path to the RRD repository for collected SNMP dataSnmpCollection
getSnmpCollection(java.lang.String name)
java.util.List<SnmpCollection>
getSnmpCollections()
int
hashCode()
void
insertSnmpCollection(SnmpCollection resourceTypeCollection)
boolean
removeSnmpCollection(SnmpCollection snmpCollection)
void
setRrdRepository(java.lang.String rrdRepository)
void
setSnmpCollections(java.util.List<SnmpCollection> snmpCollections)
IDataCollectionConfig
toDataCollectionConfig()
java.lang.String
toString()
void
visit(DatacollectionConfigVisitor visitor)
-
-
-
Method Detail
-
getRrdRepository
public java.lang.String getRrdRepository()
full path to the RRD repository for collected SNMP data
-
setRrdRepository
public void setRrdRepository(java.lang.String rrdRepository)
-
getSnmpCollections
public java.util.List<SnmpCollection> getSnmpCollections()
-
setSnmpCollections
public void setSnmpCollections(java.util.List<SnmpCollection> snmpCollections)
-
getSnmpCollection
public SnmpCollection getSnmpCollection(java.lang.String name)
-
addSnmpCollection
public void addSnmpCollection(SnmpCollection snmpCollection) throws java.lang.IndexOutOfBoundsException
- Throws:
java.lang.IndexOutOfBoundsException
-
removeSnmpCollection
public boolean removeSnmpCollection(SnmpCollection snmpCollection)
-
insertSnmpCollection
public void insertSnmpCollection(SnmpCollection resourceTypeCollection)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toDataCollectionConfig
public IDataCollectionConfig toDataCollectionConfig()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
visit
public void visit(DatacollectionConfigVisitor visitor)
-
-