@PublicApi
public interface IndexPathManager
Modifier and Type | Interface and Description |
---|---|
static class |
IndexPathManager.Directory |
static class |
IndexPathManager.Mode |
static class |
IndexPathManager.PropertiesAdaptor
Implementation of
IndexPathManager that uses the ApplicationProperties to get the current paths. |
Modifier and Type | Field and Description |
---|---|
static String |
INDEXES_DIR |
Modifier and Type | Method and Description |
---|---|
String |
getChangeHistoryIndexPath()
Returns the path of JIRA's change history indexes.
|
String |
getCommentIndexPath()
Returns the path of JIRA's comment indexes.
|
String |
getDefaultIndexRootPath()
This returns the root index directory that JIRA will use by default, if it is configured to do so.
|
String |
getIndexRootPath()
Returns the root path of JIRA's indexes.
|
String |
getIssueIndexPath()
Returns the path of JIRA's issue indexes.
|
IndexPathManager.Mode |
getMode() |
String |
getPluginIndexRootPath()
Returns the root path of JIRA's plugin indexes.
|
String |
getSharedEntityIndexPath()
Returns the path of JIRA's shared entity indexes.
|
boolean |
getUseDefaultDirectory()
Whether we are using the default index directory (within JIRA Home).
|
String |
getWorklogIndexPath()
Returns the path of JIRA's worklog indexes
|
void |
setIndexRootPath(String indexPath)
Specify an explicit index root path.
|
void |
setUseDefaultDirectory()
Specify that the default location within JIRA Home should be used to store indexes.
|
static final String INDEXES_DIR
String getIndexRootPath()
String getDefaultIndexRootPath()
String getIssueIndexPath()
String getCommentIndexPath()
String getWorklogIndexPath()
String getChangeHistoryIndexPath()
String getPluginIndexRootPath()
NOTE: Each Plugin should create a new directory under this path
String getSharedEntityIndexPath()
void setIndexRootPath(String indexPath)
indexPath
- the path to usevoid setUseDefaultDirectory()
boolean getUseDefaultDirectory()
IndexPathManager.Mode getMode()
Copyright © 2002-2018 Atlassian. All Rights Reserved.