Package org.opennms.netmgt.collectd
Class SnmpAttributeGroup
- java.lang.Object
-
- org.opennms.netmgt.collection.api.AttributeGroup
-
- org.opennms.netmgt.collectd.SnmpAttributeGroup
-
- All Implemented Interfaces:
CollectionVisitable,Persistable
public class SnmpAttributeGroup extends AttributeGroup
This attribute group overridesdoShouldPersist()so that persistence can be enabled if the SNMP ifType matches the value of ifType on theCollectionResource.
-
-
Constructor Summary
Constructors Constructor Description SnmpAttributeGroup(SnmpCollectionResource resource, AttributeGroupType groupType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleandoShouldPersist()-
Methods inherited from class org.opennms.netmgt.collection.api.AttributeGroup
addAttribute, getAttributes, getGroupType, getIfType, getName, getResource, shouldPersist, toString, visit
-
-
-
-
Constructor Detail
-
SnmpAttributeGroup
public SnmpAttributeGroup(SnmpCollectionResource resource, AttributeGroupType groupType)
-
-
Method Detail
-
doShouldPersist
protected boolean doShouldPersist()
- Overrides:
doShouldPersistin classAttributeGroup
-
-