com.atlassian.jira.config.util
Interface JiraHome

All Known Implementing Classes:
JiraHome.Default

public interface JiraHome

Get the location of JIRA's home directory.


Nested Class Summary
static class JiraHome.Default
           
 
Field Summary
static Set<String> subdirs
          The subdirectories of jira-home.
 
Method Summary
 File getHome()
          Get the File object representing the JIRA home directory.
 String getHomePath()
          Get the canonical path to the JIRA home directory.
 

Field Detail

subdirs

static final Set<String> subdirs
The subdirectories of jira-home. See https://extranet.atlassian.com/display/DEV/Product+Home+Directory+Specification+v1.1 Currently JIRA does not use tmp, log, or config

Method Detail

getHomePath

String getHomePath()
Get the canonical path to the JIRA home directory.

Returns:
the String path
Throws:
IllegalStateException - if the JIRA home is not set.

getHome

File getHome()
Get the File object representing the JIRA home directory.

Returns:
the file path, must be a directory
Throws:
IllegalStateException - if the JIRA home is not set.


Copyright © 2002-2009 Atlassian. All Rights Reserved.