SetupContext

interface SetupContext : PropertiesAware

Context providing useful processing settings to initialize extensions.

Functions

Link copied to clipboard
abstract fun register(key: String, value: Any)

Binds a given value with given key and stores it for later use.

Properties

Link copied to clipboard
abstract val config: Config

Configuration which is used to setup detekt.

Link copied to clipboard
abstract val configUris: Collection<URI>

All config locations which where used to create config.

Link copied to clipboard
abstract val errorChannel: Appendable

The channel to log all the errors.

Link copied to clipboard
abstract val outputChannel: Appendable

The channel to log all the output.

Link copied to clipboard
abstract val properties: Map<String, Any?>

Raw properties.