Class SnmpCollection
- java.lang.Object
-
- org.opennms.netmgt.config.datacollection.SnmpCollection
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class SnmpCollection extends Object implements Serializable, Cloneable
a grouping of SNMP related RRD parms, MIB object groups and sysoid based system definitions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SnmpCollection()
-
Method Summary
-
-
-
Method Detail
-
getName
public String getName()
collector name
-
setName
public void setName(String name)
-
getMaxVarsPerPdu
public Integer getMaxVarsPerPdu()
-
setMaxVarsPerPdu
public void setMaxVarsPerPdu(Integer maxVarsPerPdu)
-
getSnmpStorageFlag
public String getSnmpStorageFlag()
indicates if collected SNMP data is to be stored for "all" interfaces or only for the "primary" interface.
-
setSnmpStorageFlag
public void setSnmpStorageFlag(String snmpStorageFlag)
-
getRrd
public Rrd getRrd()
RRD parms
-
setRrd
public void setRrd(Rrd rrd)
-
getIncludeCollections
public List<IncludeCollection> getIncludeCollections()
-
setIncludeCollections
public void setIncludeCollections(List<IncludeCollection> includeCollections)
-
addIncludeCollection
public void addIncludeCollection(IncludeCollection includeCollection) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
removeIncludeCollection
public boolean removeIncludeCollection(IncludeCollection includeCollection)
-
getResourceTypes
public List<ResourceType> getResourceTypes()
-
setResourceTypes
public void setResourceTypes(List<ResourceType> resourceTypes)
-
addResourceType
public void addResourceType(ResourceType resourceType) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
removeResourceType
public boolean removeResourceType(ResourceType resourceType)
-
getGroups
public Groups getGroups()
MIB object groups
-
setGroups
public void setGroups(Groups groups)
-
getSystems
public Systems getSystems()
sysOid-based systems
-
setSystems
public void setSystems(Systems systems)
-
visit
public void visit(DatacollectionConfigVisitor visitor)
-
clone
public SnmpCollection clone()
-
-