Package com.atlassian.jira.config.util
Class MockJiraHome
java.lang.Object
com.atlassian.jira.config.util.AbstractJiraHome
com.atlassian.jira.config.util.MockJiraHome
- All Implemented Interfaces:
JiraHome
-
Field Summary
Fields inherited from interface com.atlassian.jira.config.util.JiraHome
CACHES, DATA, EXPORT, EXPORT_BACKUPS, IMPORT, IMPORT_ATTACHMENTS, INDEX_SNAPSHOTS, INDEXES_DIR, localsubdirs, LOG, PLUGINS, sharedsubdirs, subdirs -
Constructor Summary
ConstructorsConstructorDescriptionMockJiraHome(String homePath) MockJiraHome(String localHomePath, String sharedHomePath) -
Method Summary
Modifier and TypeMethodDescriptiongetHome()Get theFileobject representing the JIRA home directory.Get theFileobject representing the JIRA local home directory.voidsetHomePath(String homePath) Methods inherited from class com.atlassian.jira.config.util.AbstractJiraHome
getCachesDirectory, getDataDirectory, getExportBackupsDirectory, getExportDirectory, getHomePath, getImportAttachmentsDirectory, getImportDirectory, getIndexSnapshotsDirectory, getLocalHomePath, getLogDirectory, getPluginsDirectory, getSharedCachesDirectory
-
Constructor Details
-
MockJiraHome
public MockJiraHome() -
MockJiraHome
-
MockJiraHome
-
-
Method Details
-
getHome
Description copied from interface:JiraHomeGet theFileobject representing the JIRA home directory.- Specified by:
getHomein interfaceJiraHome- Overrides:
getHomein classAbstractJiraHome- Returns:
- the file path, must be a directory
-
getLocalHome
Description copied from interface:JiraHomeGet theFileobject representing the JIRA local home directory. In a clustered or HA deployment this will be different from jira.home, but in a standalone installation will generally be the same as jira.home.- Returns:
- the file path, must be a directory
-
setHomePath
-