com.atlassian.jira.startup
Class SystemPropertyJiraHomePathLocator

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

public class SystemPropertyJiraHomePathLocator
extends Object
implements JiraHomePathLocator

Attempts to find a jira.home configured as a system property.

Since:
v4.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.startup.JiraHomePathLocator
JiraHomePathLocator.Property
 
Constructor Summary
SystemPropertyJiraHomePathLocator()
           
 
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

SystemPropertyJiraHomePathLocator

public SystemPropertyJiraHomePathLocator()
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-2014 Atlassian. All Rights Reserved.