|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.functest.config.IndexDirectoryChecker
public class IndexDirectoryChecker
A check to make sure that indexing is correctly configured in JIRA XML data.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.atlassian.jira.functest.config.ConfigurationCheck |
|---|
ConfigurationCheck.Result |
| Field Summary | |
|---|---|
static String |
CHECKID_INDEX_DIRECTORY
The check that will set the index directory to FUNC_TEST_INDEX. |
static String |
CHECKID_INDEX_ENABLED
The check to ensure that indexing is enabled. |
static String |
CHECKID_INDEX_HOME
The check ID to ensure that we are using JIRA.HOME for indexing. |
| Constructor Summary | |
|---|---|
IndexDirectoryChecker()
|
|
| 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 CHECKID_INDEX_HOME
public static final String CHECKID_INDEX_ENABLED
public static final String CHECKID_INDEX_DIRECTORY
FUNC_TEST_INDEX.
| Constructor Detail |
|---|
public IndexDirectoryChecker()
| Method Detail |
|---|
public ConfigurationCheck.Result checkConfiguration(JiraConfig config,
CheckOptions options)
ConfigurationCheck
checkConfiguration in interface ConfigurationCheckconfig - 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 ConfigurationCheckconfig - 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 | |||||||||