com.atlassian.jira.config.util
Class DefaultJiraHome

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

public final class DefaultJiraHome
extends AbstractJiraHome

Simple implementation of JiraHome.

Since:
v4.1

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

Constructor Detail

DefaultJiraHome

public DefaultJiraHome()
Method Detail

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.