Package org.opennms.netmgt.collectd
Class StringAttributeType
- java.lang.Object
-
- org.opennms.netmgt.collection.support.AbstractCollectionAttributeType
-
- org.opennms.netmgt.collectd.SnmpAttributeType
-
- org.opennms.netmgt.collectd.StringAttributeType
-
- All Implemented Interfaces:
CollectionAttributeType
public class StringAttributeType extends SnmpAttributeType
StringAttributeType class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.collectd.SnmpAttributeType
m_mibObj
-
-
Constructor Summary
Constructors Constructor Description StringAttributeType(ResourceType resourceType, java.lang.String collectionName, MibObject mibObj, AttributeGroupType groupType)
Constructor for StringAttributeType.
-
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
-
StringAttributeType
public StringAttributeType(ResourceType resourceType, java.lang.String collectionName, MibObject mibObj, AttributeGroupType groupType)
Constructor for StringAttributeType.
- 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)
storeAttribute
- Specified by:
storeAttribute
in interfaceCollectionAttributeType
- Specified by:
storeAttribute
in classSnmpAttributeType
- Parameters:
attribute
- aCollectionAttribute
object.persister
- aPersister
object.
-
-