|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.collectd.SnmpAttributeType
public abstract class SnmpAttributeType
Represents an OID to be collected (it might be specific or an indexed object).
Also specific to a collection (e.g.: "default"), resource type (e.g.: node or
interface), and attribute group (data collection group name, e.g.: "mib2-interfaces").
This is extended to create concreate classes that represent specific types of data
to be stored such as numeric data ((NumericAttributeType)) or string data
((StringAttributeType)).
| Constructor Summary | |
|---|---|
protected |
SnmpAttributeType(ResourceType resourceType,
String collectionName,
MibObject mibObj,
AttributeGroupType groupType)
Constructor for SnmpAttributeType. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected SnmpAttributeType(ResourceType resourceType,
String collectionName,
MibObject mibObj,
AttributeGroupType groupType)
Constructor for SnmpAttributeType.
resourceType - a ResourceType object.collectionName - a String object.mibObj - a MibObject object.groupType - a AttributeGroupType object.| Method Detail |
|---|
protected String getCollectionName()
getCollectionName
String object.public static List<Collectable> getCollectionTrackers(Collection<SnmpAttributeType> objList)
getCollectionTrackers
objList - a Collection object.
List object.
public static SnmpAttributeType create(ResourceType resourceType,
String collectionName,
MibObject mibObj,
AttributeGroupType groupType)
create
resourceType - a ResourceType object.collectionName - a String object.mibObj - a MibObject object.groupType - a AttributeGroupType object.
SnmpAttributeType object.public ResourceType getResourceType()
getResourceType
ResourceType object.public AttributeGroupType getGroupType()
getGroupType
getGroupType in interface CollectionAttributeTypeAttributeGroupType object.public String getGroupName()
getGroupName
String object.public String getMaxval()
public String getMinval()
public String getAlias()
getAlias
String object.public String getOid()
getOid
String object.public String getInstance()
getInstance
String object.public String getType()
getType
getType in interface AttributeDefinitionString object.public String getName()
getName
getName in interface AttributeDefinitionString object.
public abstract void storeAttribute(CollectionAttribute attribute,
Persister persister)
storeAttribute
storeAttribute in interface CollectionAttributeTypeattribute - a CollectionAttribute object.persister - a Persister object.
public void storeResult(SnmpCollectionSet collectionSet,
SNMPCollectorEntry entry,
SnmpResult res)
storeResult
collectionSet - a SnmpCollectionSet object.entry - a SNMPCollectorEntry object.res - a SnmpResult object.public String toString()
toString
toString in class ObjectString object.public boolean equals(Object obj)
equals
equals in interface AttributeDefinitionequals in class Objectobj - a Object object.
public int hashCode()
hashCode
hashCode in interface AttributeDefinitionhashCode in class Objectpublic ThreadCategory log()
log
ThreadCategory object.public String getGroupIfType()
getGroupIfType
String object.
public boolean matches(SnmpObjId base,
SnmpInstId inst)
matches
base - a SnmpObjId object.inst - a SnmpInstId object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||