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

    Class OnmsCollectType

    Represents an OpenNMS SNMP interface "should collect" type.

    Hierarchy

    • OnmsEnum<string>
      • OnmsCollectType

    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 an ID, return the matching collect type object

      Parameters

      • Optionalid: string

      Returns any

    • given a label, return the matching collect type object

      Parameters

      • Optionallabel: string

      Returns any