public class DefaultIndexPathService extends Object implements IndexPathService
Constructor and Description |
---|
DefaultIndexPathService(IndexPathManager indexPathManager,
PermissionManager permissionManager) |
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.
|
public DefaultIndexPathService(IndexPathManager indexPathManager, PermissionManager permissionManager)
public String getIndexRootPath(JiraServiceContext serviceContext)
IndexPathService
getIndexRootPath
in interface IndexPathService
serviceContext
- The JiraServiceContextpublic String getIssueIndexPath(JiraServiceContext serviceContext)
IndexPathService
getIssueIndexPath
in interface IndexPathService
serviceContext
- The JiraServiceContextpublic String getCommentIndexPath(JiraServiceContext serviceContext)
IndexPathService
getCommentIndexPath
in interface IndexPathService
serviceContext
- The JiraServiceContextpublic String getPluginIndexRootPath(JiraServiceContext serviceContext)
IndexPathService
NOTE: Each Plugin should create a new directory under this path
getPluginIndexRootPath
in interface IndexPathService
serviceContext
- The JiraServiceContextpublic String getSharedEntityIndexPath(JiraServiceContext serviceContext)
IndexPathService
getSharedEntityIndexPath
in interface IndexPathService
serviceContext
- The JiraServiceContextCopyright © 2002-2022 Atlassian. All Rights Reserved.