com.atlassian.jira.issue.index
Class PropertiesIndexPath

java.lang.Object
  extended by com.atlassian.jira.issue.index.PropertiesIndexPath
All Implemented Interfaces:
IndexPath

public class PropertiesIndexPath
extends Object
implements IndexPath

Implementation of IndexPath that uses the ApplicationProperties to get the current paths.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.issue.index.IndexPath
IndexPath.Directory
 
Constructor Summary
PropertiesIndexPath(ApplicationProperties applicationProperties)
           
 
Method Summary
(package private) static String appendFileSeparator(String filePath)
           
 String getCommentIndexPath()
          Returns the path of JIRA's comment indexes.
 String getIndexRootPath()
          Returns the root path of JIRA's indexes.
 String getIssueIndexPath()
          Returns the path of JIRA's issue indexes.
 String getPluginIndexRootPath()
          Returns the root path of JIRA's plugin indexes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesIndexPath

public PropertiesIndexPath(ApplicationProperties applicationProperties)
Method Detail

getIndexRootPath

public String getIndexRootPath()
Description copied from interface: IndexPath
Returns the root path of JIRA's indexes.

Specified by:
getIndexRootPath in interface IndexPath

getIssueIndexPath

public String getIssueIndexPath()
Description copied from interface: IndexPath
Returns the path of JIRA's issue indexes.

Specified by:
getIssueIndexPath in interface IndexPath

getCommentIndexPath

public String getCommentIndexPath()
Description copied from interface: IndexPath
Returns the path of JIRA's comment indexes.

Specified by:
getCommentIndexPath in interface IndexPath

getPluginIndexRootPath

public String getPluginIndexRootPath()
Description copied from interface: IndexPath
Returns the root path of JIRA's plugin indexes.

NOTE: Each Plugin should create a new directory under this path

Specified by:
getPluginIndexRootPath in interface IndexPath

appendFileSeparator

static String appendFileSeparator(String filePath)


Copyright © 2002-2007 Atlassian. All Rights Reserved.