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

    Class ServerType

    Represents an OpenNMS server type.

    Hierarchy

    • OnmsEnum<number>
      • ServerType
    Index
    • construct an enum object with an id and label

      Parameters

      • id: number
      • label: string

      Returns ServerType

    • 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: number;
          label: string;
          replace: (pattern: string | RegExp, replaceWith: string) => string;
      }

    • convert this enum to a string

      Returns number