public class MailChecker extends Object implements ConfigurationCheck
ConfigurationCheck.Result
Modifier and Type | Field and Description |
---|---|
static String |
CHECK_MAIL_SERVER
Check to make sure there are no mail servers.
|
static String |
CHECK_MAIL_SERVICE
Check to make sure there are no mail services.
|
static List<String> |
SERVICES
JIRA's mail services.
|
Constructor and Description |
---|
MailChecker() |
Modifier and Type | Method and Description |
---|---|
ConfigurationCheck.Result |
checkConfiguration(JiraConfig config,
CheckOptions options)
Check the correctness of the passed JIRA XML.
|
void |
fixConfiguration(JiraConfig config,
CheckOptions options)
Fix the passed JIRA configuration and remove any errors.
|
public static final String CHECK_MAIL_SERVER
public static final String CHECK_MAIL_SERVICE
public ConfigurationCheck.Result checkConfiguration(JiraConfig config, CheckOptions options)
ConfigurationCheck
checkConfiguration
in interface ConfigurationCheck
config
- the configuration to check.options
- the context for the check. This is where errors can be reported.public void fixConfiguration(JiraConfig config, CheckOptions options)
ConfigurationCheck
fixConfiguration
in interface ConfigurationCheck
config
- the configuration to check.options
- the context for the check. This can be used to see what checks are currently enabled for the
passed configuration.Copyright © 2002-2021 Atlassian. All Rights Reserved.