Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Rule

Provide methods that must be implement by all future rules

Hierarchy

Index

Constructors

constructor

Properties

enabled

enabled: boolean

events

events: GitEventEnum[]

name

name: string

onBoth

onBoth: OnSuccessError[]

onError

onError: OnSuccessError[]

onSuccess

onSuccess: OnSuccessError[]

options

options: object

Methods

displayRule

  • displayRule(): void

isEnabled

  • isEnabled(webhook: Webhook, ruleConfig: any): false
  • Check if the rule can be apply to the received webhook, according to the ruleConfig

    Parameters

    Returns false

Abstract validate

Generated using TypeDoc