SummaryResult contains guideline information to be returned from the API
This commit is contained in:
parent
c3667780b3
commit
e1eb44ae73
|
@ -9,6 +9,7 @@ public class SummaryResult {
|
||||||
@Id
|
@Id
|
||||||
String rule_name;
|
String rule_name;
|
||||||
int rule_weight;
|
int rule_weight;
|
||||||
|
String guidelines;
|
||||||
String internal_error;
|
String internal_error;
|
||||||
String rule_status;
|
String rule_status;
|
||||||
long passed_records;
|
long passed_records;
|
||||||
|
@ -29,10 +30,11 @@ public class SummaryResult {
|
||||||
this.failed_records = failed_records;
|
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) {
|
long failed_records, String rule_status, boolean has_errors, boolean has_warnings) {
|
||||||
this.rule_name = rule_name;
|
this.rule_name = rule_name;
|
||||||
this.rule_weight = rule_weight;
|
this.rule_weight = rule_weight;
|
||||||
|
this.guidelines = guidelines;
|
||||||
this.internal_error = internal_error;
|
this.internal_error = internal_error;
|
||||||
this.rule_status = rule_status;
|
this.rule_status = rule_status;
|
||||||
this.passed_records = passed_records;
|
this.passed_records = passed_records;
|
||||||
|
@ -57,6 +59,14 @@ public class SummaryResult {
|
||||||
this.rule_weight = rule_weight;
|
this.rule_weight = rule_weight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getGuidelines() {
|
||||||
|
return guidelines;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setGuidelines(String guidelines) {
|
||||||
|
this.guidelines = guidelines;
|
||||||
|
}
|
||||||
|
|
||||||
public String getInternal_error() {
|
public String getInternal_error() {
|
||||||
return internal_error;
|
return internal_error;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue