public static final class CheckStatus.Builder
extends java.lang.Object
CheckStatus.| Constructor and Description |
|---|
Builder(CheckDescription check,
Status status)
Constructor with parameters for the required properties of
CheckStatus. |
| Modifier and Type | Method and Description |
|---|---|
CheckStatus |
build() |
CheckStatus.Builder |
setErrors(java.util.List<CheckError> errors)
List of
CheckError that the check reported. |
CheckStatus.Builder |
setOriginator(java.lang.String originator)
The service that performed the check.
|
public Builder(CheckDescription check, Status status)
CheckStatus.public CheckStatus.Builder setOriginator(java.lang.String originator)
Set if there is an originator available for this check.originator - New value for the property.public CheckStatus.Builder setErrors(java.util.List<CheckError> errors)
CheckError that the check reported.
If not Set, the service is still using the {#member issues}.
TODOerrors - New value for the property.public CheckStatus build()