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
public class MockJiraHome
- extends AbstractJiraHome
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockJiraHome
public MockJiraHome()
MockJiraHome
public MockJiraHome(String homePath)
MockJiraHome
public MockJiraHome(String localHomePath,
String sharedHomePath)
getHome
@Nonnull
public File getHome()
- Description copied from interface:
JiraHome
- Get the
File
object representing the JIRA home directory.
- Specified by:
getHome
in interface JiraHome
- Overrides:
getHome
in class AbstractJiraHome
- Returns:
- the file path, must be a directory
getLocalHome
@Nonnull
public File getLocalHome()
- Description copied from interface:
JiraHome
- Get the
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.
- Returns:
- the file path, must be a directory
setHomePath
public void setHomePath(String homePath)
Copyright © 2002-2014 Atlassian. All Rights Reserved.