InputValidationItem interface

Extends

Properties

context

Provides binding context for the expression to evaluate

Inherited Properties

isValid

Tells whether the current input is valid or not

reason

Reason for input validation failure

type

Type of validation item

value

Value to validate. The conditional expression to validate for the input for "expression" type Eg:eq(variables['Build.SourceBranch'], 'refs/heads/master');eq(value, 'refs/heads/master')

Property Details

context

Provides binding context for the expression to evaluate

context: InputBindingContext

Property Value

Inherited Property Details

isValid

Tells whether the current input is valid or not

isValid: boolean

Property Value

boolean

Inherited From ValidationItem.isValid

reason

Reason for input validation failure

reason: string

Property Value

string

Inherited From ValidationItem.reason

type

Type of validation item

type: string

Property Value

string

Inherited From ValidationItem.type

value

Value to validate. The conditional expression to validate for the input for "expression" type Eg:eq(variables['Build.SourceBranch'], 'refs/heads/master');eq(value, 'refs/heads/master')

value: string

Property Value

string

Inherited From ValidationItem.value