public class HealthActionResult
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
HealthActionResult.ResultStatus |
Constructor and Description |
---|
HealthActionResult() |
HealthActionResult(HealthActionResult.ResultStatus status) |
HealthActionResult(HealthActionResult.ResultStatus status,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.Throwable |
getException() |
java.lang.String |
getMessage() |
HealthActionResult.ResultStatus |
getStatus() |
long |
getTimestamp() |
boolean |
isFailure() |
boolean |
isSkipped() |
boolean |
isSuccess() |
void |
setException(java.lang.Throwable exception) |
void |
setMessage(java.lang.String message) |
void |
setStatus(HealthActionResult.ResultStatus status) |
void |
setTimestamp(long timestamp) |
java.lang.String |
toString() |
public HealthActionResult()
public HealthActionResult(HealthActionResult.ResultStatus status)
public HealthActionResult(HealthActionResult.ResultStatus status, java.lang.String message)
public HealthActionResult.ResultStatus getStatus()
public void setStatus(HealthActionResult.ResultStatus status)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public long getTimestamp()
public void setTimestamp(long timestamp)
public java.lang.Throwable getException()
public void setException(java.lang.Throwable exception)
public boolean isSuccess()
public boolean isFailure()
public boolean isSkipped()
public java.lang.String getDescription()
public java.lang.String toString()
toString
in class java.lang.Object