Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CheckCoverageRule

CheckCoverageRule checks if coverage fulfill the options.

returns

return a RuleResult object

Hierarchy

  • Rule
    • CheckCoverageRule

Index

Constructors

constructor

  • new CheckCoverageRule(httpService: HttpService, googleAnalytics: Visitor): CheckCoverageRule

Properties

enabled

enabled: boolean

events

events: GitEventEnum[] = [GitEventEnum.Cron]

Private googleAnalytics

googleAnalytics: Visitor

Private httpService

httpService: HttpService

name

name: string

onBoth

onBoth: OnSuccessError[]

onError

onError: OnSuccessError[]

onSuccess

onSuccess: OnSuccessError[]

options

Methods

displayRule

  • displayRule(): void

isEnabled

  • isEnabled(webhook: Webhook, ruleConfig: any): false

validate

Generated using TypeDoc