com.atlassian.jira.config.util
Class MockJiraHome

java.lang.Object
  extended by com.atlassian.jira.config.util.AbstractJiraHome
      extended by com.atlassian.jira.config.util.MockJiraHome
All Implemented Interfaces:
JiraHome

public class MockJiraHome
extends AbstractJiraHome


Field Summary
 
Fields inherited from interface com.atlassian.jira.config.util.JiraHome
CACHES, DATA, EXPORT, IMPORT, IMPORT_ATTACHMENTS, LOG, PLUGINS, subdirs
 
Constructor Summary
MockJiraHome()
           
MockJiraHome(String homePath)
           
 
Method Summary
 File getHome()
          Get the File object representing the JIRA home directory.
 void setHomePath(String homePath)
           
 
Methods inherited from class com.atlassian.jira.config.util.AbstractJiraHome
getCachesDirectory, getDataDirectory, getExportDirectory, getHomePath, getImportAttachmentsDirectory, getImportDirectory, getLogDirectory, getPluginsDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockJiraHome

public MockJiraHome()

MockJiraHome

public MockJiraHome(String homePath)
Method Detail

getHome

@NotNull
public File getHome()
Description copied from interface: JiraHome
Get the File object representing the JIRA home directory.

Specified by:
getHome in interface JiraHome
Specified by:
getHome in class AbstractJiraHome
Returns:
the file path, must be a directory

setHomePath

public void setHomePath(String homePath)


Copyright © 2002-2013 Atlassian. All Rights Reserved.