Package org.opennms.netmgt.collectd
Class SnmpIfData
- java.lang.Object
-
- org.opennms.netmgt.collectd.SnmpIfData
-
public class SnmpIfData extends Object
SnmpIfData class.
- Author:
- Mathew Brozowski
-
-
Constructor Summary
Constructors Constructor Description SnmpIfData(OnmsSnmpInterface snmpIface)
Constructor for SnmpIfData.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getAttributesMap()
getAttribtuesMapString
getIfAlias()
getIfAliasint
getIfIndex()
getIfIndexint
getIfType()
getIfTypeString
getLabelForRRD()
getLabelForRRDint
getNodeId()
getNodeIdboolean
isCollectionEnabled()
isCollectionEnabledprotected static int
nullSafeUnbox(Integer num, int dflt)
protected static long
nullSafeUnbox(Long num, long dflt)
String
toString()
-
-
-
Constructor Detail
-
SnmpIfData
public SnmpIfData(OnmsSnmpInterface snmpIface)
Constructor for SnmpIfData.
- Parameters:
snmpIface
- aOnmsSnmpInterface
object.
-
-
Method Detail
-
nullSafeUnbox
protected static int nullSafeUnbox(Integer num, int dflt)
-
nullSafeUnbox
protected static long nullSafeUnbox(Long num, long dflt)
-
getNodeId
public int getNodeId()
getNodeId
- Returns:
- a int.
-
isCollectionEnabled
public boolean isCollectionEnabled()
isCollectionEnabled
- Returns:
- a boolean.
-
getIfIndex
public int getIfIndex()
getIfIndex
- Returns:
- a int.
-
getIfType
public int getIfType()
getIfType
- Returns:
- a int.
-
getAttributesMap
public Map<String,String> getAttributesMap()
getAttribtuesMap
- Returns:
- a
Map
object.
-
-