Configuration

class Configuration constructor

Internal configuration class to configure the PipelineVerifier.

By default, warning diagnostics is set to false and enabledDiagnostics is set to PipelineVerifier.Configuration.getDefaultDiagnostics.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Set of all diagnostics to enable for the verifier.

Link copied to clipboard

Whether warnings should be enabled for the verifier.

Functions

Link copied to clipboard
fun add(vararg enableDiagnostic: KClass<out DiagnosticPass>): PipelineVerifier.Configuration

Adds diagnostic(s) to be checked by the verifier.

Link copied to clipboard

Removes all diagnostics to be checked by the verifier.

Link copied to clipboard

Enables warnings to be logged by the verifier.

Link copied to clipboard
fun remove(vararg disableDiagnostic: KClass<out DiagnosticPass>): PipelineVerifier.Configuration

Removes diagnostic(s) to be checked by the verifier.