public interface JiraHome
Modifier and Type | Field and Description |
---|---|
static String |
CACHES
Name of the "Caching" directory in JIRA home.
|
static String |
DATA
Name of the "Data" directory in JIRA home.
|
static String |
EXPORT
Name of the "Export" directory in JIRA home.
|
static String |
IMPORT
Name of the "Import" directory in JIRA home.
|
static String |
IMPORT_ATTACHMENTS
Name of the "Import/Attachments" directory in JIRA home.
|
static Set<String> |
localsubdirs |
static String |
LOG
Name of the "Log" directory in JIRA home.
|
static String |
PLUGINS
Name of the "Plugins" directory in JIRA home.
|
static Set<String> |
sharedsubdirs |
static Set<String> |
subdirs
Deprecated.
since v6.1
|
Modifier and Type | Method and Description |
---|---|
File |
getCachesDirectory()
Get the
File object representing the caches directory in JIRA home. |
File |
getDataDirectory()
Get the
File object representing the data directory in JIRA home. |
File |
getExportDirectory()
Get the
File object representing the export directory in JIRA home. |
File |
getHome()
Get the
File object representing the JIRA home directory. |
String |
getHomePath()
Get the canonical path to the JIRA home directory.
|
File |
getImportAttachmentsDirectory()
Get the
File object representing the import/attachments directory in JIRA home. |
File |
getImportDirectory()
Get the
File object representing the import directory in JIRA home. |
File |
getLocalHome()
Get the
File object representing the JIRA local home directory. |
String |
getLocalHomePath()
Get the canonical path to the JIRA local home directory.
|
File |
getLogDirectory()
Get the
File object representing the log directory in JIRA home. |
File |
getPluginsDirectory()
Get the
File object representing the plugins directory in JIRA home. |
File |
getSharedCachesDirectory()
Get the
File object representing the caches directory in JIRA home. |
static final String CACHES
static final String DATA
static final String PLUGINS
static final String EXPORT
static final String IMPORT
static final String IMPORT_ATTACHMENTS
static final String LOG
@Deprecated static final Set<String> subdirs
String getHomePath()
IllegalStateException
- if the JIRA home is not set.@Nonnull File getHome()
File
object representing the JIRA home directory.IllegalStateException
- if the JIRA home is not set.@Nonnull File getLocalHome()
File
object 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.IllegalStateException
- if the JIRA home is not set.String getLocalHomePath()
IllegalStateException
- if the JIRA home is not set.File getLogDirectory()
File
object representing the log directory in JIRA home.IllegalStateException
- if the JIRA home is not set.File getCachesDirectory()
File
object representing the caches directory in JIRA home.IllegalStateException
- if the JIRA home is not set.File getSharedCachesDirectory()
File
object representing the caches directory in JIRA home.IllegalStateException
- if the JIRA home is not set.File getExportDirectory()
File
object representing the export directory in JIRA home.IllegalStateException
- if the JIRA home is not set.File getImportDirectory()
File
object representing the import directory in JIRA home.IllegalStateException
- if the JIRA home is not set.File getImportAttachmentsDirectory()
File
object representing the import/attachments directory in JIRA home.IllegalStateException
- if the JIRA home is not set.File getPluginsDirectory()
File
object representing the plugins directory in JIRA home.IllegalStateException
- if the JIRA home is not set.File getDataDirectory()
File
object representing the data directory in JIRA home.IllegalStateException
- if the JIRA home is not set.Copyright © 2002-2017 Atlassian. All Rights Reserved.