Class HealthCheckMessage
java.lang.Object
com.atlassian.confluence.impl.health.HealthCheckMessage
Create HTML and raw text messages simultaneously.
This class was introduced for CONFSRVDEV-2798 in an effort to improve the
UX for admins experiencing a Johnson
Event
.
It ensures that the messaging on the web is the same as in the logs.
The two formats are exposed by the asText()
and the asHtml()
methods.- Since:
- 6.6.0
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
asHtml
returns the current message state formatted as HTML- Returns:
- String
-
asText
returns the current message state formatted as text- Returns:
- String
-
getHeadline
returns the current message headline formatted as text- Returns:
- String
-