public class MockJiraHome extends AbstractJiraHome
CACHES, DATA, EXPORT, IMPORT, IMPORT_ATTACHMENTS, 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, getExportDirectory, getHomePath, getImportAttachmentsDirectory, getImportDirectory, 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-2018 Atlassian. All Rights Reserved.