com.atlassian.jira.config.util
Class AbstractJiraHome

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

public abstract class AbstractJiraHome
extends java.lang.Object
implements JiraHome

Class that helps with the implementation of the JiraHome interface.

Since:
v4.1

Field Summary
 
Fields inherited from interface com.atlassian.jira.config.util.JiraHome
CACHES, DATA, EXPORT, IMPORT, IMPORT_ATTACHMENTS, LOG, PLUGINS, subdirs
 
Constructor Summary
AbstractJiraHome()
           
 
Method Summary
 java.io.File getCachesDirectory()
          Get the File object representing the caches directory in JIRA home.
 java.io.File getDataDirectory()
          Get the File object representing the data directory in JIRA home.
 java.io.File getExportDirectory()
          Get the File object representing the export directory in JIRA home.
abstract  java.io.File getHome()
          Get the File object representing the JIRA home directory.
 java.lang.String getHomePath()
          Get the canonical path to the JIRA home directory.
 java.io.File getImportAttachmentsDirectory()
          Get the File object representing the import/attachments directory in JIRA home.
 java.io.File getImportDirectory()
          Get the File object representing the import directory in JIRA home.
 java.io.File getLogDirectory()
          Get the File object representing the log directory in JIRA home.
 java.io.File getPluginsDirectory()
          Get the File object representing the plugins directory in JIRA home.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractJiraHome

public AbstractJiraHome()
Method Detail

getHome

public abstract java.io.File getHome()
Description copied from interface: JiraHome
Get the File object representing the JIRA home directory.

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

getLogDirectory

public final java.io.File getLogDirectory()
Description copied from interface: JiraHome
Get the File object representing the log directory in JIRA home.

Specified by:
getLogDirectory in interface JiraHome
Returns:
the file path, must be a directory.

getCachesDirectory

public final java.io.File getCachesDirectory()
Description copied from interface: JiraHome
Get the File object representing the caches directory in JIRA home.

Specified by:
getCachesDirectory in interface JiraHome
Returns:
the file path, must be a directory.

getExportDirectory

public final java.io.File getExportDirectory()
Description copied from interface: JiraHome
Get the File object representing the export directory in JIRA home.

Specified by:
getExportDirectory in interface JiraHome
Returns:
the file path, must be a directory.

getImportDirectory

public final java.io.File getImportDirectory()
Description copied from interface: JiraHome
Get the File object representing the import directory in JIRA home.

Specified by:
getImportDirectory in interface JiraHome
Returns:
the file path, must be a directory.

getImportAttachmentsDirectory

public final java.io.File getImportAttachmentsDirectory()
Description copied from interface: JiraHome
Get the File object representing the import/attachments directory in JIRA home.

Specified by:
getImportAttachmentsDirectory in interface JiraHome
Returns:
the file path, must be a directory.

getPluginsDirectory

public final java.io.File getPluginsDirectory()
Description copied from interface: JiraHome
Get the File object representing the plugins directory in JIRA home.

Specified by:
getPluginsDirectory in interface JiraHome
Returns:
the file path, must be a directory.

getDataDirectory

public final java.io.File getDataDirectory()
Description copied from interface: JiraHome
Get the File object representing the data directory in JIRA home.

Specified by:
getDataDirectory in interface JiraHome
Returns:
the file path, must be a directory.

getHomePath

public final java.lang.String getHomePath()
Description copied from interface: JiraHome
Get the canonical path to the JIRA home directory.

Specified by:
getHomePath in interface JiraHome
Returns:
the String path


Copyright © 2002-2011 Atlassian. All Rights Reserved.