Package org.opennms.netmgt.collectd
Class MibPropertyAttributeType
- java.lang.Object
-
- org.opennms.netmgt.collection.support.AbstractCollectionAttributeType
-
- org.opennms.netmgt.collectd.SnmpAttributeType
-
- org.opennms.netmgt.collectd.MibPropertyAttributeType
-
- All Implemented Interfaces:
CollectionAttributeType
public class MibPropertyAttributeType extends SnmpAttributeType
The Class MibPropertyAttributeType.- Author:
- Alejandro Galue
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.collectd.SnmpAttributeType
m_mibObj
-
-
Constructor Summary
Constructors Constructor Description MibPropertyAttributeType(ResourceType resourceType, MibObjProperty property, AttributeGroupType groupType)
Instantiates a new MIB property attribute type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlias()
getAliasString
getName()
getNameString
getOid()
getOidAttributeType
getType()
The type of metric that the attribute represents.void
storeAttribute(CollectionAttribute attribute, Persister persister)
storeAttributestatic boolean
supportsType(String rawType)
Supports type.-
Methods inherited from class org.opennms.netmgt.collectd.SnmpAttributeType
create, equals, getCollectionName, getCollectionTrackers, getGroupIfType, getGroupName, getInstance, getResourceType, hashCode, matches, storeResult, toString
-
Methods inherited from class org.opennms.netmgt.collection.support.AbstractCollectionAttributeType
getGroupType
-
-
-
-
Constructor Detail
-
MibPropertyAttributeType
public MibPropertyAttributeType(ResourceType resourceType, MibObjProperty property, AttributeGroupType groupType)
Instantiates a new MIB property attribute type.- Parameters:
property
- the propertygroupType
- the group type
-
-
Method Detail
-
supportsType
public static boolean supportsType(String rawType)
Supports type.- Parameters:
rawType
- the raw type- Returns:
- true, if successful
-
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.
-
getType
public AttributeType getType()
Description copied from interface:CollectionAttributeType
The type of metric that the attribute represents.
- Returns:
- a
AttributeType
object.
-
getAlias
public String getAlias()
Description copied from class:SnmpAttributeType
getAlias
- Overrides:
getAlias
in classSnmpAttributeType
- Returns:
- a
String
object.
-
getOid
public String getOid()
Description copied from class:SnmpAttributeType
getOid
- Overrides:
getOid
in classSnmpAttributeType
- Returns:
- a
String
object.
-
getName
public String getName()
Description copied from class:SnmpAttributeType
getName
- Specified by:
getName
in interfaceCollectionAttributeType
- Overrides:
getName
in classSnmpAttributeType
- Returns:
- a
String
object.
-
-