jetbrains.buildServer.configs.kotlin.v10 / Requirement / <init>
<init>
Requirement(type: RequirementType, param: String, value: String? = null, id: String? = null)
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