Class DatacollectionConfig
- java.lang.Object
-
- org.opennms.netmgt.config.datacollection.DatacollectionConfig
-
- All Implemented Interfaces:
Serializable
public class DatacollectionConfig extends Object implements 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(Object obj)
String
getRrdRepository()
full path to the RRD repository for collected SNMP dataSnmpCollection
getSnmpCollection(String name)
List<SnmpCollection>
getSnmpCollections()
int
hashCode()
void
insertSnmpCollection(SnmpCollection resourceTypeCollection)
boolean
removeSnmpCollection(SnmpCollection snmpCollection)
void
setRrdRepository(String rrdRepository)
void
setSnmpCollections(List<SnmpCollection> snmpCollections)
IDataCollectionConfig
toDataCollectionConfig()
String
toString()
void
visit(DatacollectionConfigVisitor visitor)
-
-
-
Method Detail
-
getRrdRepository
public String getRrdRepository()
full path to the RRD repository for collected SNMP data
-
setRrdRepository
public void setRrdRepository(String rrdRepository)
-
getSnmpCollections
public List<SnmpCollection> getSnmpCollections()
-
setSnmpCollections
public void setSnmpCollections(List<SnmpCollection> snmpCollections)
-
getSnmpCollection
public SnmpCollection getSnmpCollection(String name)
-
addSnmpCollection
public void addSnmpCollection(SnmpCollection snmpCollection) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
removeSnmpCollection
public boolean removeSnmpCollection(SnmpCollection snmpCollection)
-
insertSnmpCollection
public void insertSnmpCollection(SnmpCollection resourceTypeCollection)
-
toDataCollectionConfig
public IDataCollectionConfig toDataCollectionConfig()
-
visit
public void visit(DatacollectionConfigVisitor visitor)
-
-