DocumentedRule

sealed class DocumentedRule<T : Finding> : ModuleCheckRule<T>

Constructors

Link copied to clipboard
protected fun DocumentedRule()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun check(project: McProject): List<T>
Link copied to clipboard
abstract fun shouldApply(settings: ModuleCheckSettings): Boolean
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
abstract val description: String
Link copied to clipboard
override val documentationUrl: String

This should correspond to the finding name in snake_case. So a rule with a findingName.id of 'unused-dependency' would have a documentation url of <docs root>/rules/unused_dependency.

Link copied to clipboard
abstract val name: FindingName

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Sources

Link copied to clipboard