@PublicApi
public interface IndexPathService
IndexPathManager
Modifier and Type | Method and Description |
---|---|
String |
getCommentIndexPath(JiraServiceContext serviceContext)
Returns the path of JIRA's comment indexes.
|
String |
getIndexRootPath(JiraServiceContext serviceContext)
Returns the root path of JIRA's indexes.
|
String |
getIssueIndexPath(JiraServiceContext serviceContext)
Returns the path of JIRA's issue indexes.
|
String |
getPluginIndexRootPath(JiraServiceContext serviceContext)
Returns the root path of JIRA's plugin indexes.
|
String |
getSharedEntityIndexPath(JiraServiceContext serviceContext)
Returns the path of JIRA's shared entity indexes.
|
void |
setIndexRootPath(JiraServiceContext serviceContext,
String indexPath)
Specify an explicit (custom) index root path.
|
void |
setUseDefaultDirectory(JiraServiceContext serviceContext)
Specify that the default location within JiraHome should be used to store indexes.
|
String getIndexRootPath(JiraServiceContext serviceContext)
serviceContext
- The JiraServiceContextString getIssueIndexPath(JiraServiceContext serviceContext)
serviceContext
- The JiraServiceContextString getCommentIndexPath(JiraServiceContext serviceContext)
serviceContext
- The JiraServiceContextString getPluginIndexRootPath(JiraServiceContext serviceContext)
NOTE: Each Plugin should create a new directory under this path
serviceContext
- The JiraServiceContextString getSharedEntityIndexPath(JiraServiceContext serviceContext)
serviceContext
- The JiraServiceContextvoid setIndexRootPath(JiraServiceContext serviceContext, String indexPath)
serviceContext
- The JiraServiceContextindexPath
- the path to usevoid setUseDefaultDirectory(JiraServiceContext serviceContext)
serviceContext
- The JiraServiceContextCopyright © 2002-2015 Atlassian. All Rights Reserved.