Package org.opennms.netmgt.collectd
Class HexStringAttributeType
- java.lang.Object
-
- org.opennms.netmgt.collection.support.AbstractCollectionAttributeType
-
- org.opennms.netmgt.collectd.SnmpAttributeType
-
- org.opennms.netmgt.collectd.HexStringAttributeType
-
- All Implemented Interfaces:
CollectionAttributeType
public class HexStringAttributeType extends SnmpAttributeType
HexStringAttributeType class.
- Author:
- jwhite
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.collectd.SnmpAttributeType
m_mibObj
-
-
Constructor Summary
Constructors Constructor Description HexStringAttributeType(ResourceType resourceType, java.lang.String collectionName, MibObject mibObj, AttributeGroupType groupType)
Constructor for HexStringAttributeType.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeType
getType()
The type of metric that the attribute represents.void
storeAttribute(CollectionAttribute attribute, Persister persister)
storeAttributestatic boolean
supportsType(java.lang.String rawType)
supportsType-
Methods inherited from class org.opennms.netmgt.collectd.SnmpAttributeType
create, equals, getAlias, getCollectionName, getCollectionTrackers, getGroupIfType, getGroupName, getInstance, getName, getOid, getResourceType, hashCode, matches, storeResult, toString
-
Methods inherited from class org.opennms.netmgt.collection.support.AbstractCollectionAttributeType
getGroupType
-
-
-
-
Constructor Detail
-
HexStringAttributeType
public HexStringAttributeType(ResourceType resourceType, java.lang.String collectionName, MibObject mibObj, AttributeGroupType groupType)
Constructor for HexStringAttributeType.
- Parameters:
resourceType
- aResourceType
object.collectionName
- aString
object.mibObj
- aMibObject
object.groupType
- aAttributeGroupType
object.
-
-
Method Detail
-
supportsType
public static boolean supportsType(java.lang.String rawType)
supportsType
- Parameters:
rawType
- aString
object.- Returns:
- a boolean.
-
getType
public AttributeType getType()
Description copied from interface:CollectionAttributeType
The type of metric that the attribute represents.
- Returns:
- a
AttributeType
object.
-
storeAttribute
public void storeAttribute(CollectionAttribute attribute, Persister persister)
Description copied from class:SnmpAttributeType
storeAttribute
- Specified by:
storeAttribute
in interfaceCollectionAttributeType
- Specified by:
storeAttribute
in classSnmpAttributeType
- Parameters:
attribute
- aCollectionAttribute
object.persister
- aPersister
object.
-
-