|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.config.util.DefaultIndexPathService
public class DefaultIndexPathService
| Constructor Summary | |
|---|---|
DefaultIndexPathService(IndexPathManager indexPathManager,
PermissionManager permissionManager)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultIndexPathService(IndexPathManager indexPathManager,
PermissionManager permissionManager)
| Method Detail |
|---|
public String getIndexRootPath(JiraServiceContext serviceContext)
IndexPathService
getIndexRootPath in interface IndexPathServiceserviceContext - The JiraServiceContext
public String getIssueIndexPath(JiraServiceContext serviceContext)
IndexPathService
getIssueIndexPath in interface IndexPathServiceserviceContext - The JiraServiceContext
public String getCommentIndexPath(JiraServiceContext serviceContext)
IndexPathService
getCommentIndexPath in interface IndexPathServiceserviceContext - The JiraServiceContext
public String getPluginIndexRootPath(JiraServiceContext serviceContext)
IndexPathServiceNOTE: Each Plugin should create a new directory under this path
getPluginIndexRootPath in interface IndexPathServiceserviceContext - The JiraServiceContext
public String getSharedEntityIndexPath(JiraServiceContext serviceContext)
IndexPathService
getSharedEntityIndexPath in interface IndexPathServiceserviceContext - The JiraServiceContext
public void setIndexRootPath(JiraServiceContext serviceContext,
String indexPath)
IndexPathService
setIndexRootPath in interface IndexPathServiceserviceContext - The JiraServiceContextindexPath - the path to usepublic void setUseDefaultDirectory(JiraServiceContext serviceContext)
IndexPathService
setUseDefaultDirectory in interface IndexPathServiceserviceContext - The JiraServiceContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||