Follow bean-conventions for the fields of "Result".

This commit is contained in:
Lampros Smyrnaios 2023-12-22 14:34:38 +02:00
parent 55a4fc76fa
commit 5e49659787
1 changed files with 13 additions and 0 deletions

View File

@ -40,6 +40,19 @@ public interface Guideline<T> {
// When status == ERROR, the internal error is held here
String internalError();
// Follow the bean conventions.
int getScore();
void setScore(int score);
Status getStatus();
void setStatus(String status);
Iterable<String> getWarnings();
void setWarnings(Iterable<String> warnings);
Iterable<String> getErrors();
void setErrors(Iterable<String> errors);
String getInternalError();
void setInternalError(String internalError);
}
}