MustBeApiRule

class MustBeApiRule @Inject constructor : DocumentedRule<MustBeApiFinding> (source)

Constructors

Link copied to clipboard
@Inject
constructor()

Properties

Link copied to clipboard
open override 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
open override val name: FindingName

Functions

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