Class HomeHealthCheckMessageFactory
- java.lang.Object
-
- com.atlassian.confluence.impl.health.checks.HomeHealthCheckMessageFactory
-
public class HomeHealthCheckMessageFactory extends Object
Creates human readable messages from a givenHomeHealthCheckFailure
. Used for clear and helpful error messaging inHomeHealthCheck
- Since:
- 6.6.0
-
-
Constructor Summary
Constructors Constructor Description HomeHealthCheckMessageFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull HealthCheckMessage
getMessage(HomeHealthCheckFailure failure)
Formats aHomeHealthCheckFailure
to a readable helpful message used inHomeHealthCheck
-
-
-
Method Detail
-
getMessage
public @NonNull HealthCheckMessage getMessage(HomeHealthCheckFailure failure)
Formats aHomeHealthCheckFailure
to a readable helpful message used inHomeHealthCheck
- Parameters:
failure
- reason why the Confluence home check failed.- Returns:
- a formatted
HealthCheckMessage
containing a headline and a message to communicate what failed during the home check.
-
-