RED-692: Added matchedRule to RedactionLog
This commit is contained in:
parent
85d73dae47
commit
f75aff5186
@ -18,6 +18,7 @@ public class RedactionLogEntry {
|
|||||||
private String type;
|
private String type;
|
||||||
private String value;
|
private String value;
|
||||||
private String reason;
|
private String reason;
|
||||||
|
private int matchedRule;
|
||||||
private String legalBasis;
|
private String legalBasis;
|
||||||
private boolean redacted;
|
private boolean redacted;
|
||||||
private boolean isHint;
|
private boolean isHint;
|
||||||
|
|||||||
@ -271,6 +271,7 @@ public class AnnotationHighlightService {
|
|||||||
.isHint(isHint(entity))
|
.isHint(isHint(entity))
|
||||||
.section(entity.getHeadline())
|
.section(entity.getHeadline())
|
||||||
.sectionNumber(entity.getSectionNumber())
|
.sectionNumber(entity.getSectionNumber())
|
||||||
|
.matchedRule(entity.getMatchedRule())
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user