Class HomeHealthCheckMessageFactory
java.lang.Object
com.atlassian.confluence.impl.health.checks.HomeHealthCheckMessageFactory
Creates human readable messages from a given
HomeHealthCheckFailure.
Used for clear and helpful error messaging in HomeHealthCheck- Since:
- 6.6.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull HealthCheckMessagegetMessage(HomeHealthCheckFailure failure) Formats aHomeHealthCheckFailureto a readable helpful message used inHomeHealthCheck
-
Constructor Details
-
HomeHealthCheckMessageFactory
public HomeHealthCheckMessageFactory()
-
-
Method Details
-
getMessage
Formats aHomeHealthCheckFailureto a readable helpful message used inHomeHealthCheck- Parameters:
failure- reason why the Confluence home check failed.- Returns:
- a formatted
HealthCheckMessagecontaining a headline and a message to communicate what failed during the home check.
-