@ParametersAreNonnullByDefault public class DefaultJiraHomeMessageFactory extends Object implements JiraHomeMessageFactory
JiraHomeStartupCheckFailure
.
Used for clear and helpful error messaging in JiraHomeHealthCheck
JiraHomeMessageFactory.JiraHomeMessage
Constructor and Description |
---|
DefaultJiraHomeMessageFactory() |
Modifier and Type | Method and Description |
---|---|
JiraHomeMessageFactory.JiraHomeMessage |
getMessage(JiraHomeStartupCheckFailure failure)
Formats a
JiraHomeStartupCheckFailure to a readable helpful message used in JiraHomeHealthCheck |
@Nonnull public JiraHomeMessageFactory.JiraHomeMessage getMessage(JiraHomeStartupCheckFailure failure)
JiraHomeStartupCheckFailure
to a readable helpful message used in JiraHomeHealthCheck
getMessage
in interface JiraHomeMessageFactory
failure
- reason why the JIRA home check failed.JiraHomeMessage
containing a headline and a message to communicate what failed during the JIRA home check.Copyright © 2002-2021 Atlassian. All Rights Reserved.