Package com.atlassian.jira.config.util
Interface IndexPathManager
- All Known Implementing Classes:
IndexPathManager.PropertiesAdaptor,MockIndexPathManager
@PublicApi
public interface IndexPathManager
Responsible for determining the current location of JIRA indexes.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic classImplementation ofIndexPathManagerthat uses theApplicationPropertiesto get the current paths. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the path of JIRA's change history indexes.Returns the path of JIRA's comment indexes.Returns the root path of JIRA's indexes.Returns the path of JIRA's issue indexes.Returns the root path of JIRA's plugin indexes.Returns the path of JIRA's shared entity indexes.Returns the path of JIRA's worklog indexes
-
Field Details
-
INDEXES_DIR
-
-
Method Details
-
getIndexRootPath
String getIndexRootPath()Returns the root path of JIRA's indexes. This directory is a sub-directory of the configured jira-home and is defined in the Atlassian home directory specification to live under [jira-home]/caches/indexesV1/ by default.- Returns:
- the root path of JIRA's indexes
-
getIssueIndexPath
String getIssueIndexPath()Returns the path of JIRA's issue indexes.- Returns:
- the path of JIRA's issue indexes
-
getCommentIndexPath
String getCommentIndexPath()Returns the path of JIRA's comment indexes.- Returns:
- the path of JIRA's comment indexes
-
getWorklogIndexPath
String getWorklogIndexPath()Returns the path of JIRA's worklog indexes- Returns:
- the path of JIRA's worklog indexes
-
getChangeHistoryIndexPath
String getChangeHistoryIndexPath()Returns the path of JIRA's change history indexes.- Returns:
- the path of JIRA's change history indexes
-
getPluginIndexRootPath
String getPluginIndexRootPath()Returns the root path of JIRA's plugin indexes.NOTE: Each Plugin should create a new directory under this path
- Returns:
- the root path of JIRA's plugin indexes
-