OpenNMS.js - v2.6.2-SNAPSHOT
    Preparing search index...

    Class OnmsNodeLabelSource

    Represents an OpenNMS node label source.

    Hierarchy

    • OnmsEnum<string>
      • OnmsNodeLabelSource

    Implements

    Index

    Constructors

    Accessors

    Methods

    • Parameters

      • pattern: string | RegExp
      • replaceWith: string

      Returns string

    • convert this enum to a string suitable for display

      Returns string

    • convert to the JSON representation

      Returns {
          id: string;
          label: string;
          replace: (pattern: string | RegExp, replaceWith: string) => string;
      }

    • Given a label, return the matching node label source object.

      Parameters

      • Optionallabel: string

      Returns any