Package com.atlassian.jira.config.util
Class AbstractJiraHome
java.lang.Object
com.atlassian.jira.config.util.AbstractJiraHome
- All Implemented Interfaces:
JiraHome
- Direct Known Subclasses:
DefaultJiraHome,JiraHomeLocator.SystemJiraHome,MockJiraHome,SecondaryJiraHome,StartupJiraHome
Class that helps with the implementation of the
JiraHome interface.- Since:
- v4.1
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal FileGet theFileobject representing the caches directory in JIRA home.final FileGet theFileobject representing the data directory in JIRA home.Get theFileobject representing the export/backups directory in JIRA home.final FileGet theFileobject representing the export directory in JIRA home.getHome()Get theFileobject representing the JIRA home directory.Get the canonical path to the JIRA home directory.final FileGet theFileobject representing the import/attachments directory in JIRA home.final FileGet theFileobject representing the import directory in JIRA home.final FileGet theFileobject representing the index snapshots directory in JIRA home.final StringGet the canonical path to the JIRA local home directory.final FileGet theFileobject representing the log directory in JIRA home.final FileGet theFileobject representing the plugins directory in JIRA home.Get theFileobject representing the caches directory in JIRA home.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.config.util.JiraHome
getLocalHome
-
Constructor Details
-
AbstractJiraHome
public AbstractJiraHome()
-
-
Method Details
-
getHome
Description copied from interface:JiraHomeGet theFileobject representing the JIRA home directory. -
getLogDirectory
Description copied from interface:JiraHomeGet theFileobject representing the log directory in JIRA home.- Specified by:
getLogDirectoryin interfaceJiraHome- Returns:
- the file path, must be a directory.
-
getCachesDirectory
Description copied from interface:JiraHomeGet theFileobject representing the caches directory in JIRA home.- Specified by:
getCachesDirectoryin interfaceJiraHome- Returns:
- the file path, must be a directory.
-
getExportDirectory
Description copied from interface:JiraHomeGet theFileobject representing the export directory in JIRA home.- Specified by:
getExportDirectoryin interfaceJiraHome- Returns:
- the file path, must be a directory.
-
getExportBackupsDirectory
Description copied from interface:JiraHomeGet theFileobject representing the export/backups directory in JIRA home.- Specified by:
getExportBackupsDirectoryin interfaceJiraHome- Returns:
- the file path, must be a directory.
-
getImportDirectory
Description copied from interface:JiraHomeGet theFileobject representing the import directory in JIRA home.- Specified by:
getImportDirectoryin interfaceJiraHome- Returns:
- the file path, must be a directory.
-
getImportAttachmentsDirectory
Description copied from interface:JiraHomeGet theFileobject representing the import/attachments directory in JIRA home.- Specified by:
getImportAttachmentsDirectoryin interfaceJiraHome- Returns:
- the file path, must be a directory.
-
getPluginsDirectory
Description copied from interface:JiraHomeGet theFileobject representing the plugins directory in JIRA home.- Specified by:
getPluginsDirectoryin interfaceJiraHome- Returns:
- the file path, must be a directory.
-
getDataDirectory
Description copied from interface:JiraHomeGet theFileobject representing the data directory in JIRA home.- Specified by:
getDataDirectoryin interfaceJiraHome- Returns:
- the file path, must be a directory.
-
getIndexSnapshotsDirectory
Description copied from interface:JiraHomeGet theFileobject representing the index snapshots directory in JIRA home.- Specified by:
getIndexSnapshotsDirectoryin interfaceJiraHome- Returns:
- the file path, must be a directory.
-
getHomePath
Description copied from interface:JiraHomeGet the canonical path to the JIRA home directory.- Specified by:
getHomePathin interfaceJiraHome- Returns:
- the String path
-
getLocalHomePath
Description copied from interface:JiraHomeGet the canonical path to 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.- Specified by:
getLocalHomePathin interfaceJiraHome- Returns:
- the String path
-