Class NetworkBuilder


  • public class NetworkBuilder
    extends java.lang.Object

    NetworkBuilder class.

    • Constructor Detail

      • NetworkBuilder

        public NetworkBuilder​(OnmsDistPoller distPoller)

        Constructor for NetworkBuilder.

        Parameters:
        distPoller - a OnmsDistPoller object.
      • NetworkBuilder

        public NetworkBuilder()

        Constructor for NetworkBuilder.

        Parameters:
        distPollerId - a String object.
    • Method Detail

      • setDisplayCategory

        public void setDisplayCategory​(java.lang.String displayCategory)

        setDisplayCategory

        Parameters:
        displayCategory - a String object.
      • setBuilding

        public void setBuilding​(java.lang.String building)

        setBuilding

        Parameters:
        building - a String object.
      • getCurrentNode

        public OnmsNode getCurrentNode()

        getCurrentNode

        Returns:
        a OnmsNode object.
      • addCategory

        public void addCategory​(java.lang.String categoryName)

        addCategory

        Parameters:
        categoryName - a String object.
      • clearInterface

        public void clearInterface()

        clearInterface

      • setAssetAttribute

        public void setAssetAttribute​(java.lang.String name,
                                      java.lang.String value)

        setAssetAttribute

        Parameters:
        name - a String object.
        value - a String object.
      • setNodeMetaDataEntry

        public void setNodeMetaDataEntry​(java.lang.String context,
                                         java.lang.String key,
                                         java.lang.String value)
      • setInterfaceMetaDataEntry

        public void setInterfaceMetaDataEntry​(java.lang.String context,
                                              java.lang.String key,
                                              java.lang.String value)
      • setServiceMetaDataEntry

        public void setServiceMetaDataEntry​(java.lang.String context,
                                            java.lang.String key,
                                            java.lang.String value)
      • getServiceType

        public OnmsServiceType getServiceType​(java.lang.String serviceName)
      • getCategory

        public OnmsCategory getCategory​(java.lang.String categoryName)