interface RuleSetProvider

A rule set provider, as the name states, is responsible for creating rule sets.

When writing own rule set providers make sure to register them according the ServiceLoader documentation.



Link copied to clipboard
abstract val ruleSetId: RuleSet.Id

Every rule set must be pre-configured with an ID to validate if this rule set must be created for current analysis.


Link copied to clipboard
abstract fun instance(): RuleSet

This function must be implemented to provide custom rule sets.