MultiRuleFindingFactory

class MultiRuleFindingFactory @Inject constructor(val settings: ModuleCheckSettings, val rules: DaggerList<ModuleCheckRule<*>>) : FindingFactory<Finding> , HasTraceTags

Constructors

Link copied to clipboard
@Inject
fun MultiRuleFindingFactory(settings: ModuleCheckSettings, rules: DaggerList<ModuleCheckRule<*>>)

Functions

Link copied to clipboard
private suspend fun evaluate(projects: List<McProject>, predicate: (ModuleCheckRule<*>) -> Boolean): List<Finding>
Link copied to clipboard
open suspend override fun evaluateFixable(projects: List<McProject>): List<Finding>
Link copied to clipboard
open suspend override fun evaluateReports(projects: List<McProject>): List<Finding>
Link copied to clipboard
open suspend override fun evaluateSorts(projects: List<McProject>): List<Finding>
Link copied to clipboard
private fun Sequence<Finding>.filterDuplicateAdds(): List<Finding>

Properties

Link copied to clipboard
private val rules: DaggerList<ModuleCheckRule<*>>
Link copied to clipboard
private val settings: ModuleCheckSettings
Link copied to clipboard
open override val tags: Iterable<Any>

Sources

Link copied to clipboard