org.opennms.netmgt.model
Class NetworkBuilder

java.lang.Object
  extended by org.opennms.netmgt.model.NetworkBuilder

public class NetworkBuilder
extends Object


Nested Class Summary
 class NetworkBuilder.InterfaceBuilder
           
 class NetworkBuilder.NodeBuilder
           
 
Constructor Summary
NetworkBuilder()
          Totally bogus
NetworkBuilder(OnmsDistPoller distPoller)
           
NetworkBuilder(String name, String ipAddress)
           
 
Method Summary
 void addCategory(OnmsCategory cat)
           
 void addCategory(String categoryName)
           
 NetworkBuilder.InterfaceBuilder addInterface(String ipAddr)
           
 NetworkBuilder.InterfaceBuilder addInterface(String ipAddr, OnmsSnmpInterface snmpInterface)
           
 NetworkBuilder.NodeBuilder addNode(String label)
           
 OnmsMonitoredService addService(OnmsServiceType serviceType)
           
 OnmsMonitoredService addService(String serviceName)
           
 SnmpInterfaceBuilder addSnmpInterface(String ipAddr, int ifIndex)
           
 void clearInterface()
           
 OnmsNode getCurrentNode()
           
 void setAssetAttribute(String name, String value)
           
 void setBuilding(String building)
           
 void setDisplayCategory(String displayCategory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkBuilder

public NetworkBuilder(OnmsDistPoller distPoller)

NetworkBuilder

public NetworkBuilder(String name,
                      String ipAddress)

NetworkBuilder

public NetworkBuilder()
Totally bogus

Method Detail

addNode

public NetworkBuilder.NodeBuilder addNode(String label)

addInterface

public NetworkBuilder.InterfaceBuilder addInterface(String ipAddr)

addInterface

public NetworkBuilder.InterfaceBuilder addInterface(String ipAddr,
                                                    OnmsSnmpInterface snmpInterface)

addSnmpInterface

public SnmpInterfaceBuilder addSnmpInterface(String ipAddr,
                                             int ifIndex)

addService

public OnmsMonitoredService addService(OnmsServiceType serviceType)

setDisplayCategory

public void setDisplayCategory(String displayCategory)

setBuilding

public void setBuilding(String building)

getCurrentNode

public OnmsNode getCurrentNode()

addCategory

public void addCategory(OnmsCategory cat)

addCategory

public void addCategory(String categoryName)

clearInterface

public void clearInterface()

addService

public OnmsMonitoredService addService(String serviceName)

setAssetAttribute

public void setAssetAttribute(String name,
                              String value)
Parameters:
name -
value -


Copyright © 2009. All Rights Reserved.