Package com.atlassian.jira.config.util
Interface IndexPathService
- All Known Implementing Classes:
DefaultIndexPathService
@PublicApi
public interface IndexPathService
Service that provides access to JIRA's Lucene indexing paths.
Only System Administrators have sufficient privileges to see these as they are all host-OS file paths.
- Since:
- v4.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetCommentIndexPath
(JiraServiceContext serviceContext) Returns the path of JIRA's comment indexes.getIndexRootPath
(JiraServiceContext serviceContext) Returns the root path of JIRA's indexes.getIssueIndexPath
(JiraServiceContext serviceContext) Returns the path of JIRA's issue indexes.getPluginIndexRootPath
(JiraServiceContext serviceContext) Returns the root path of JIRA's plugin indexes.getSharedEntityIndexPath
(JiraServiceContext serviceContext) Returns the path of JIRA's shared entity indexes.
-
Method Details
-
getIndexRootPath
Returns the root path of JIRA's indexes.- Parameters:
serviceContext
- The JiraServiceContext- Returns:
- the root path of JIRA's indexes.
-
getIssueIndexPath
Returns the path of JIRA's issue indexes.- Parameters:
serviceContext
- The JiraServiceContext- Returns:
- the path of JIRA's issue indexes.
-
getCommentIndexPath
Returns the path of JIRA's comment indexes.- Parameters:
serviceContext
- The JiraServiceContext- Returns:
- the path of JIRA's comment indexes.
-
getPluginIndexRootPath
Returns the root path of JIRA's plugin indexes.NOTE: Each Plugin should create a new directory under this path
- Parameters:
serviceContext
- The JiraServiceContext- Returns:
- the root path of JIRA's plugin indexes.
-