forked from camunda/camunda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrevapi.json
46 lines (46 loc) · 1.5 KB
/
revapi.json
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
[
{
"extension": "revapi.filter",
"id": "filter",
"configuration": {
"archives": {
"justification": "Ignore everything not included in the module itself",
"include": [
"io\\.camunda:zeebe-bpmn-model:.*"
]
}
}
},
{
"extension": "revapi.differences",
"id": "differences",
"configuration": {
"differences": [
{
"justification": "Ignore new methods for Zeebe extensions, as these are not meant to be implemented but simply consumed; as such, new methods are perfectly fine to add",
"code": "java.method.addedToInterface",
"new": {
"matcher": "java",
"match": "interface * { * io.camunda.zeebe.model.bpmn.instance.zeebe.**::^*(**); }"
}
},
{
"justification": "The abstract builders are usually not used outside of this project; a caller uses the concrete builder that inherits from the abstract builder.",
"code": "java.class.nonFinalClassInheritsFromNewClass",
"new": {
"matcher": "java-package",
"match": "io.camunda.zeebe.model.bpmn.builder"
}
},
{
"justification": "Validators are used only internally; they should not used or referenced from outside of the module",
"code": "java.class.removed",
"old": {
"matcher": "java-package",
"match": "io.camunda.zeebe.model.bpmn.validation.zeebe"
}
}
]
}
}
]