jetbrains.buildServer.configs.kotlin.v2017_2 / Consumer

Consumer

class Consumer : ErrorConsumer

Constructors

<init>

Consumer(errors: MutableList<String> = arrayListOf())

Properties

errors

val errors: MutableList<String>

scope

var scope: String

Functions

consumeError

fun consumeError(error: String): Unit

Consumes a generic error not related to any property

consumePropertyError

fun consumePropertyError(property: String, error: String): Unit

Consumes property error

nested

fun nested(description: String, block: () -> Unit): Unit

Runs specified block in a nested validation scope with provided description