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
  • Constructor Details

    • MockJiraHome

      public MockJiraHome()
    • MockJiraHome

      public MockJiraHome(String homePath)
    • MockJiraHome

      public MockJiraHome(String localHomePath, String sharedHomePath)
  • Method Details

    • 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)