Detektion

class Detektion(val issues: List<Issue>, val rules: List<RuleInstance>, val notifications: List<Notification> = emptyList(), val metrics: List<ProjectMetric> = emptyList(), val userData: Map<String, Any> = emptyMap())

Storage for all kinds of findings and additional information which needs to be transferred from the detekt engine to the user.

Constructors

Link copied to clipboard
constructor(issues: List<Issue>, rules: List<RuleInstance>, notifications: List<Notification> = emptyList(), metrics: List<ProjectMetric> = emptyList(), userData: Map<String, Any> = emptyMap())

Properties

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

Functions

Link copied to clipboard
fun plus(notification: Notification): Detektion
fun plus(projectMetric: ProjectMetric): Detektion
fun plus(userData: Pair<String, Any>): Detektion