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)
IndexPathServicegetIndexRootPath in interface IndexPathServiceserviceContext - The JiraServiceContextpublic String getIssueIndexPath(JiraServiceContext serviceContext)
IndexPathServicegetIssueIndexPath in interface IndexPathServiceserviceContext - The JiraServiceContextpublic String getCommentIndexPath(JiraServiceContext serviceContext)
IndexPathServicegetCommentIndexPath in interface IndexPathServiceserviceContext - The JiraServiceContextpublic String getPluginIndexRootPath(JiraServiceContext serviceContext)
IndexPathServiceNOTE: Each Plugin should create a new directory under this path
getPluginIndexRootPath in interface IndexPathServiceserviceContext - The JiraServiceContextpublic String getSharedEntityIndexPath(JiraServiceContext serviceContext)
IndexPathServicegetSharedEntityIndexPath in interface IndexPathServiceserviceContext - The JiraServiceContextCopyright © 2002-2022 Atlassian. All Rights Reserved.