SummaryResult contains guideline information to be returned from the API

This commit is contained in:
Katerina 2023-07-14 12:08:44 +03:00
parent c3667780b3
commit e1eb44ae73
1 changed files with 11 additions and 1 deletions

View File

@ -9,6 +9,7 @@ public class SummaryResult {
@Id
String rule_name;
int rule_weight;
String guidelines;
String internal_error;
String rule_status;
long passed_records;
@ -29,10 +30,11 @@ public class SummaryResult {
this.failed_records = failed_records;
}
public SummaryResult(String rule_name, int rule_weight, String internal_error, long passed_records,
public SummaryResult(String rule_name, int rule_weight, String guidelines, String internal_error, long passed_records,
long failed_records, String rule_status, boolean has_errors, boolean has_warnings) {
this.rule_name = rule_name;
this.rule_weight = rule_weight;
this.guidelines = guidelines;
this.internal_error = internal_error;
this.rule_status = rule_status;
this.passed_records = passed_records;
@ -57,6 +59,14 @@ public class SummaryResult {
this.rule_weight = rule_weight;
}
public String getGuidelines() {
return guidelines;
}
public void setGuidelines(String guidelines) {
this.guidelines = guidelines;
}
public String getInternal_error() {
return internal_error;
}