public class MockJiraHome extends AbstractJiraHome
CACHES, DATA, EXPORT, EXPORT_BACKUPS, IMPORT, IMPORT_ATTACHMENTS, INDEX_SNAPSHOTS, INDEXES_DIR, localsubdirs, LOG, PLUGINS, sharedsubdirs, subdirs
Constructor and Description |
---|
MockJiraHome() |
MockJiraHome(String homePath) |
MockJiraHome(String localHomePath,
String sharedHomePath) |
Modifier and Type | Method and Description |
---|---|
File |
getHome()
Get the
File object representing the JIRA home directory. |
File |
getLocalHome()
Get the
File object representing the JIRA local home directory. |
void |
setHomePath(String homePath) |
getCachesDirectory, getDataDirectory, getExportBackupsDirectory, getExportDirectory, getHomePath, getImportAttachmentsDirectory, getImportDirectory, getIndexSnapshotsDirectory, getLocalHomePath, getLogDirectory, getPluginsDirectory, getSharedCachesDirectory
public MockJiraHome()
public MockJiraHome(String homePath)
@Nonnull public File getHome()
JiraHome
File
object representing the JIRA home directory.getHome
in interface JiraHome
getHome
in class AbstractJiraHome
@Nonnull public File getLocalHome()
JiraHome
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.public void setHomePath(String homePath)
Copyright © 2002-2024 Atlassian. All Rights Reserved.