RED-692: Added matchedRule to RedactionLog

This commit is contained in:
deiflaender 2020-11-16 11:55:45 +01:00
parent 85d73dae47
commit f75aff5186
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ public class RedactionLogEntry {
private String type;
private String value;
private String reason;
private int matchedRule;
private String legalBasis;
private boolean redacted;
private boolean isHint;

View File

@ -271,6 +271,7 @@ public class AnnotationHighlightService {
.isHint(isHint(entity))
.section(entity.getHeadline())
.sectionNumber(entity.getSectionNumber())
.matchedRule(entity.getMatchedRule())
.build();
}