Class SnmpManagedNode
- java.lang.Object
-
- org.opennms.web.admin.nodeManagement.SnmpManagedNode
-
public class SnmpManagedNode extends Object
A servlet that stores node, interface, service information for setting up SNMP data collection- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- Tarus Balog , OpenNMS , Tarus Balog , OpenNMS
-
-
Field Summary
Fields Modifier and Type Field Description protected List<SnmpManagedInterface>
interfaces
protected int
nodeID
protected String
nodeLabel
-
Constructor Summary
Constructors Constructor Description SnmpManagedNode()
Constructor for SnmpManagedNode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInterface(SnmpManagedInterface newInterface)
addInterfaceint
getInterfaceCount()
getInterfaceCountList<SnmpManagedInterface>
getInterfaces()
Getter for the fieldinterfaces
.int
getNodeID()
Getter for the fieldnodeID
.String
getNodeLabel()
Getter for the fieldnodeLabel
.void
setNodeID(int id)
Setter for the fieldnodeID
.void
setNodeLabel(String label)
Setter for the fieldnodeLabel
.
-
-
-
Field Detail
-
nodeID
protected int nodeID
-
nodeLabel
protected String nodeLabel
-
interfaces
protected List<SnmpManagedInterface> interfaces
-
-
Method Detail
-
setNodeID
public void setNodeID(int id)
Setter for the field
nodeID
.- Parameters:
id
- a int.
-
setNodeLabel
public void setNodeLabel(String label)
Setter for the field
nodeLabel
.- Parameters:
label
- aString
object.
-
addInterface
public void addInterface(SnmpManagedInterface newInterface)
addInterface
- Parameters:
newInterface
- aSnmpManagedInterface
object.
-
getInterfaceCount
public int getInterfaceCount()
getInterfaceCount
- Returns:
- a int.
-
getNodeID
public int getNodeID()
Getter for the field
nodeID
.- Returns:
- a int.
-
getInterfaces
public List<SnmpManagedInterface> getInterfaces()
Getter for the field
interfaces
.- Returns:
- a
List
object.
-
-