Package lumis.portal.healthmonitor
Class HealthCheckResult
- java.lang.Object
-
- lumis.portal.healthmonitor.HealthCheckResult
-
public class HealthCheckResult extends Object
A Health Check should return this object in a HealthCheckException if the check result is not OK.- Since:
- 10.1.0
- Version:
- $Revision: 19963 $ $Date: 2017-02-21 19:28:29 -0300 (Tue, 21 Feb 2017) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HealthCheckResult.ResultType
-
Constructor Summary
Constructors Constructor Description HealthCheckResult(HealthCheckResult.ResultType result)
HealthCheckResult(HealthCheckResult.ResultType result, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
The message in HTML format that should be shown to the end user.HealthCheckResult.ResultType
getResult()
Returns the health check result.void
setMessage(String message)
void
setResult(HealthCheckResult.ResultType result)
-
-
-
Constructor Detail
-
HealthCheckResult
public HealthCheckResult(HealthCheckResult.ResultType result)
-
HealthCheckResult
public HealthCheckResult(HealthCheckResult.ResultType result, String message)
-
-
Method Detail
-
getResult
public HealthCheckResult.ResultType getResult()
Returns the health check result.- Returns:
- the result
- Since:
- 10.1.0
-
setResult
public void setResult(HealthCheckResult.ResultType result)
-
getMessage
public String getMessage()
The message in HTML format that should be shown to the end user.- Returns:
- Since:
- 10.1.0
-
setMessage
public void setMessage(String message)
-
-