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 HealthCheckMessagegetMessage(HomeHealthCheckFailure failure)Formats aHomeHealthCheckFailureto a readable helpful message used inHomeHealthCheck 
 - 
 
- 
- 
Method Detail
- 
getMessage
public @NonNull HealthCheckMessage getMessage(HomeHealthCheckFailure failure)
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. 
 
 - 
 
 -