/
ContributionConstraint.yml
96 lines (96 loc) · 3.07 KB
/
ContributionConstraint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
### YamlMime:TSType
name: ContributionConstraint
uid: azure-devops-extension-api.ContributionConstraint
package: azure-devops-extension-api
summary: >-
Specifies a constraint that can be used to dynamically include/exclude a given
contribution
fullName: ContributionConstraint
remarks: ''
isDeprecated: false
type: interface
properties:
- name: group
uid: azure-devops-extension-api.ContributionConstraint.group
package: azure-devops-extension-api
summary: >-
An optional property that can be specified to group constraints together.
All constraints within a group are AND'd together (all must be evaluate to
True in order for the contribution to be included). Different groups of
constraints are OR'd (only one group needs to evaluate to True for the
contribution to be included).
fullName: group
remarks: ''
isDeprecated: false
syntax:
content: 'group: number'
return:
description: ''
type: number
- name: id
uid: azure-devops-extension-api.ContributionConstraint.id
package: azure-devops-extension-api
summary: Fully qualified identifier of a shared constraint
fullName: id
remarks: ''
isDeprecated: false
syntax:
content: 'id: string'
return:
description: ''
type: string
- name: inverse
uid: azure-devops-extension-api.ContributionConstraint.inverse
package: azure-devops-extension-api
summary: >-
If true, negate the result of the filter (include the contribution if the
applied filter returns false instead of true)
fullName: inverse
remarks: ''
isDeprecated: false
syntax:
content: 'inverse: boolean'
return:
description: ''
type: boolean
- name: name
uid: azure-devops-extension-api.ContributionConstraint.name
package: azure-devops-extension-api
summary: Name of the IContributionFilter plugin
fullName: name
remarks: ''
isDeprecated: false
syntax:
content: 'name: string'
return:
description: ''
type: string
- name: properties
uid: azure-devops-extension-api.ContributionConstraint.properties
package: azure-devops-extension-api
summary: Properties that are fed to the contribution filter class
fullName: properties
remarks: ''
isDeprecated: false
syntax:
content: 'properties: any'
return:
description: ''
type: any
- name: relationships
uid: azure-devops-extension-api.ContributionConstraint.relationships
package: azure-devops-extension-api
summary: >-
Constraints can be optionally be applied to one or more of the
relationships defined in the contribution. If no relationships are defined
then all relationships are associated with the constraint. This means the
default behaviour will eliminate the contribution from the tree completely
if the constraint is applied.
fullName: relationships
remarks: ''
isDeprecated: false
syntax:
content: 'relationships: string[]'
return:
description: ''
type: string[]