Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Match

A match for a value.

Hierarchy

  • Match

Index

Constructors

constructor

  • Returns Match

  • Parameters

    Returns Match

Methods

getAlias

  • getAlias(): string
  • Set an alias that would replace the label value when it matches.

    Returns string

getDomain

  • Set the label domain, restricting this rule to a single domain.

    Returns MetricsDomain

getLabel

  • getLabel(): string
  • Set the label name. The match will apply to the values related to this key.

    Returns string

getType

  • Set the type of matching to apply.

    Returns MatchType

getValue

  • getValue(): string
  • Set the matched value.

    Returns string

setAlias

  • setAlias(alias: string): Match
  • Set an alias that would replace the label value when it matches.

    Parameters

    • alias: string

    Returns Match

setDomain

  • Set the label domain, restricting this rule to a single domain.

    Parameters

    Returns Match

setLabel

  • setLabel(label: string): Match
  • Set the label name. The match will apply to the values related to this key.

    Parameters

    • label: string

    Returns Match

setType

  • Set the type of matching to apply.

    Parameters

    Returns Match

setValue

  • setValue(value: string): Match
  • Set the matched value.

    Parameters

    • value: string

    Returns Match

Generated using TypeDoc