Package com.atlassian.jira.config.util
Class DefaultIndexPathService
java.lang.Object
com.atlassian.jira.config.util.DefaultIndexPathService
- All Implemented Interfaces:
IndexPathService
- Since:
- v4.0
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultIndexPathService
(IndexPathManager indexPathManager, PermissionManager permissionManager) -
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.
-
Constructor Details
-
DefaultIndexPathService
public DefaultIndexPathService(IndexPathManager indexPathManager, PermissionManager permissionManager)
-
-
Method Details
-
getIndexRootPath
Description copied from interface:IndexPathService
Returns the root path of JIRA's indexes.- Specified by:
getIndexRootPath
in interfaceIndexPathService
- Parameters:
serviceContext
- The JiraServiceContext- Returns:
- the root path of JIRA's indexes.
-
getIssueIndexPath
Description copied from interface:IndexPathService
Returns the path of JIRA's issue indexes.- Specified by:
getIssueIndexPath
in interfaceIndexPathService
- Parameters:
serviceContext
- The JiraServiceContext- Returns:
- the path of JIRA's issue indexes.
-
getCommentIndexPath
Description copied from interface:IndexPathService
Returns the path of JIRA's comment indexes.- Specified by:
getCommentIndexPath
in interfaceIndexPathService
- Parameters:
serviceContext
- The JiraServiceContext- Returns:
- the path of JIRA's comment indexes.
-
getPluginIndexRootPath
Description copied from interface:IndexPathService
Returns the root path of JIRA's plugin indexes.NOTE: Each Plugin should create a new directory under this path
- Specified by:
getPluginIndexRootPath
in interfaceIndexPathService
- Parameters:
serviceContext
- The JiraServiceContext- Returns:
- the root path of JIRA's plugin indexes.
-