• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DataBiosphere / consent / #4439

pending completion
#4439

push

web-flow
[DUOS-2617][risk=no] Add abstain and rationales to match inserts (#2110)

* add abstain to match insert

* failre reasons -> rationales

* failure reasons -> rationales

* semgrep fixes

28 of 28 new or added lines in 6 files covered. (100.0%)

9601 of 12550 relevant lines covered (76.5%)

0.77 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

13.33
/src/main/java/org/broadinstitute/consent/http/models/matching/DataUseResponseMatchingObject.java
1
package org.broadinstitute.consent.http.models.matching;
2

3
import static org.broadinstitute.consent.http.models.matching.DataUseMatchResultType.Approve;
4

5
import java.util.List;
6

7
public class DataUseResponseMatchingObject {
8

9
  public DataUseMatchResultType result;
10

11
  public DataUseRequestMatchingObject matchPair;
12

13
  public List<String> rationale;
14

15
  public DataUseResponseMatchingObject(DataUseMatchResultType result,
16
      DataUseRequestMatchingObject matchPair, List<String> rationale) {
×
17
    this.result = result;
×
18
    this.matchPair = matchPair;
×
19
    this.rationale = rationale;
×
20
  }
×
21

22
  public DataUseMatchResultType getResult() {
23
    return result;
1✔
24
  }
25

26
  public boolean isResult() {
27
    return Approve(result);
×
28
  }
29

30
  public void setResult(DataUseMatchResultType result) {
31
    this.result = result;
×
32
  }
×
33

34
  public DataUseRequestMatchingObject getMatchPair() {
35
    return matchPair;
×
36
  }
37

38
  public void setMatchPair(DataUseRequestMatchingObject matchPair) {
39
    this.matchPair = matchPair;
×
40
  }
×
41

42
  public List<String> getRationale() {
43
    return rationale;
1✔
44
  }
45

46
  public void setRationale(List<String> rationale) {
47
    this.rationale = rationale;
×
48
  }
×
49
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc