Skip to content

Commit

Permalink
Add getters to CheckResult in IT framework (#29411)
Browse files Browse the repository at this point in the history
  • Loading branch information
bvolpato authored Nov 13, 2023
1 parent 2ad4591 commit 8fa5b19
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ public CheckResult(boolean success, String message) {
this.message = message;
}

public boolean isSuccess() {
return success;
}

public String getMessage() {
return message;
}

@Override
public String toString() {
return "CheckResult{" + "success=" + success + ", message='" + message + '\'' + '}';
Expand Down

0 comments on commit 8fa5b19

Please sign in to comment.