Options
All
  • Public
  • Public/Protected
  • All
Menu

Class for representing an alert rule.

Hierarchy

  • AlertRule

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new AlertRule(name: string, rules?: AlertRule[], exclude?: boolean, _all?: boolean): AlertRule
  • Constructor for an alert rule.

    Parameters

    • name: string

      Rule name.

    • Default value rules: AlertRule[] = []

      Implemented rules.

    • Default value exclude: boolean = false

      If the rule is getting excluded.

    • Default value _all: boolean = false

      If the rule is using all of the parents rule's nodes.

    Returns AlertRule

Properties

Private _all

_all: boolean

If the rule is using all of the parents rule's nodes.

exclude

exclude: boolean

If the rule is getting excluded.

name

name: string

Rule name.

rules

rules: AlertRule[]

Implemented rules.

Accessors

all

  • get all(): boolean

Methods

addRule

setAll

toString

  • toString(): string

Generated using TypeDoc