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

    Class OnmsNodeLabelSource

    Represents an OpenNMS node label source.

    Hierarchy

    • OnmsEnum<string>
      • OnmsNodeLabelSource

    Implements

    Index
    • get label(): string

      get the label of this enum entry

      Returns string

    • 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;
      }

    • convert this enum to a string

      Returns string

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

      Parameters

      • Optionallabel: string

      Returns any