|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.functest.config.BackupChecker
public final class BackupChecker
Check to make sure that there are no backup service configured. There are two things to check here:
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.config.ConfigurationCheck |
---|
ConfigurationCheck.Result |
Field Summary | |
---|---|
static String |
BACKUP_SERVICE
Name of the class for the export service used in JIRA. |
static String |
CHECK_BACKUP_SERVICE
ID of the check that looks for the backup service. |
static String |
CHECK_BACKUP_SERVICE_DIRECTORY
ID of the check that makes sure the backup path is set to the default if the backup service is required. |
static String |
CHECK_BACKUP_SERVICE_HOME
ID of the check that makes sure the backup path is using JIRA.HOME. |
static String |
CHECK_GLOBAL_BACKUP_DIRECTORY
ID of the check that cleans up JIRA's global backup path. |
Constructor Summary | |
---|---|
BackupChecker()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CHECK_BACKUP_SERVICE
public static final String CHECK_BACKUP_SERVICE_HOME
public static final String CHECK_BACKUP_SERVICE_DIRECTORY
public static final String CHECK_GLOBAL_BACKUP_DIRECTORY
public static final String BACKUP_SERVICE
Constructor Detail |
---|
public BackupChecker()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |