Constructors
constructor
-
Parameters
-
-
-
Default value rulesClasses: Rule[] = []
Properties
Private dataAccessService
Methods
getConfiguration
- getConfiguration(remoteRepository: string, ruleFile: string): Promise<any>
-
Parameters
-
remoteRepository: string
-
ruleFile: string
Returns Promise<any>
getGroupsConfiguration
- getGroupsConfiguration(configuration: any): Group[]
getRule
- getRule(ruleConfig: any): Rule
getRulesConfiguration
- getRulesConfiguration(configuration: any): Rule[]
-
Parameters
Returns Rule[]
testRules
- testRules(webhook: Webhook, remoteRepository: string, ruleFile: string): Promise<RuleResult[]>
-
Parameters
-
-
remoteRepository: string
-
ruleFile: string