Class HealthCheckMessage

java.lang.Object
com.atlassian.confluence.impl.health.HealthCheckMessage

public class HealthCheckMessage extends Object
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
  • Method Details

    • asHtml

      public String asHtml()
      returns the current message state formatted as HTML
      Returns:
      String
    • asText

      public String asText()
      returns the current message state formatted as text
      Returns:
      String
    • getHeadline

      public String getHeadline()
      returns the current message headline formatted as text
      Returns:
      String