com.atlassian.jira.startup
Class WebContextJiraHomePathLocator

java.lang.Object
  extended by com.atlassian.jira.startup.WebContextJiraHomePathLocator
All Implemented Interfaces:
JiraHomePathLocator

public class WebContextJiraHomePathLocator
extends Object
implements JiraHomePathLocator

Attempts to find a jira-home configured within our web context.

Since:
v4.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.startup.JiraHomePathLocator
JiraHomePathLocator.Property
 
Constructor Summary
WebContextJiraHomePathLocator()
           
 
Method Summary
 String getDisplayName()
          Returns a user-friendly and readable name for this locator to make support's life easier.
 String getJiraHome()
          Returns the jira.home path configured via this locator method, or null if none is configured.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebContextJiraHomePathLocator

public WebContextJiraHomePathLocator()
Method Detail

getJiraHome

public String getJiraHome()
Description copied from interface: JiraHomePathLocator
Returns the jira.home path configured via this locator method, or null if none is configured.

Specified by:
getJiraHome in interface JiraHomePathLocator
Returns:
the jira.home path configured via this locator method, or null if none is configured.

getDisplayName

public String getDisplayName()
Description copied from interface: JiraHomePathLocator
Returns a user-friendly and readable name for this locator to make support's life easier.

Specified by:
getDisplayName in interface JiraHomePathLocator
Returns:
a user-friendly and readable name for this locator to make support's life easier


Copyright © 2002-2009 Atlassian. All Rights Reserved.