com.atlassian.jira.config.util
Class StartupJiraHome

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

public final class StartupJiraHome
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
StartupJiraHome(JiraHomePathLocator locator)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartupJiraHome

public StartupJiraHome(JiraHomePathLocator locator)
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.