public abstract class

AbstractJiraHome

extends Object
implements JiraHome
java.lang.Object
   ↳ com.atlassian.jira.config.util.AbstractJiraHome
Known Direct Subclasses

Class Overview

Class that helps with the implementation of the JiraHome interface.

Summary

[Expand]
Inherited Constants
From interface com.atlassian.jira.config.util.JiraHome
[Expand]
Inherited Fields
From interface com.atlassian.jira.config.util.JiraHome
Public Constructors
AbstractJiraHome()
Public Methods
final File getCachesDirectory()
Get the File object representing the caches directory in JIRA home.
final File getDataDirectory()
Get the File object representing the data directory in JIRA home.
final File getExportDirectory()
Get the File object representing the export directory in JIRA home.
@Nonnull File getHome()
Get the File object representing the JIRA home directory.
final String getHomePath()
Get the canonical path to the JIRA home directory.
final File getImportAttachmentsDirectory()
Get the File object representing the import/attachments directory in JIRA home.
final File getImportDirectory()
Get the File object representing the import directory in JIRA home.
final String getLocalHomePath()
Get the canonical path to the JIRA local home directory.
final File getLogDirectory()
Get the File object representing the log directory in JIRA home.
final File getPluginsDirectory()
Get the File object representing the plugins directory in JIRA home.
File getSharedCachesDirectory()
Get the File object representing the caches directory in JIRA home.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.config.util.JiraHome

Public Constructors

public AbstractJiraHome ()

Public Methods

public final File getCachesDirectory ()

Get the File object representing the caches directory in JIRA home.

Returns
  • the file path, must be a directory.

public final File getDataDirectory ()

Get the File object representing the data directory in JIRA home.

Returns
  • the file path, must be a directory.

public final File getExportDirectory ()

Get the File object representing the export directory in JIRA home.

Returns
  • the file path, must be a directory.

@Nonnull public File getHome ()

Get the File object representing the JIRA home directory.

Returns
  • the file path, must be a directory

public final String getHomePath ()

Get the canonical path to the JIRA home directory.

Returns
  • the String path

public final File getImportAttachmentsDirectory ()

Get the File object representing the import/attachments directory in JIRA home.

Returns
  • the file path, must be a directory.

public final File getImportDirectory ()

Get the File object representing the import directory in JIRA home.

Returns
  • the file path, must be a directory.

public final String getLocalHomePath ()

Get the canonical path to 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 String path

public final File getLogDirectory ()

Get the File object representing the log directory in JIRA home.

Returns
  • the file path, must be a directory.

public final File getPluginsDirectory ()

Get the File object representing the plugins directory in JIRA home.

Returns
  • the file path, must be a directory.

public File getSharedCachesDirectory ()

Get the File object representing the caches directory in JIRA home.

Returns
  • the file path, must be a directory.