Detektion

interface Detektion

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

Functions

Link copied to clipboard
abstract fun add(notification: Notification)

Stores a notification in the result.

abstract fun add(projectMetric: ProjectMetric)

Stores a metric calculated for the whole project in the result.

Link copied to clipboard
abstract fun <V> addData(key: Key<V>, value: V)

Stores an arbitrary value inside the result bound to the given key.

Link copied to clipboard
abstract fun <V> getData(key: Key<V>): V?

Retrieves a value stored by the given key of the result.

Properties

Link copied to clipboard
abstract val findings: Map<RuleSetId, List<Finding>>
Link copied to clipboard
Link copied to clipboard