jetbrains.buildServer.configs.kotlin.v2017_2 / Requirement

Requirement

data class Requirement

An agent requirement, use methods in Requirements class to create it

Parameters

type - requirement type

param - parameter name

value - value to check, might be null if requirement doesn't need a value

id - optional requirement id, if not specified will be generated

See Also

Requirements.moreThan

Requirements.noMoreThan

Requirements.lessThan

Requirements.noLessThan

Requirements.startsWith

Requirements.contains

Requirements.doesNotContain

Requirements.endsWith

Requirements.matches

Requirements.doesNotMatch

Requirements.moreThanVer

Requirements.noMoreThanVer

Requirements.lessThanVer

Requirements.noLessThanVer

Requirements.exists

Requirements.doesNotExist

Requirements.equals

Requirements.doesNotEqual

Constructors

<init>

Requirement(type: RequirementType, param: String, value: String? = null, id: String? = null)

An agent requirement, use methods in Requirements class to create it

Properties

id

val id: String?

optional requirement id, if not specified will be generated

param

val param: String

parameter name

type

val type: RequirementType

requirement type

value

val value: String?

value to check, might be null if requirement doesn't need a value

Functions

toString

fun toString(): String