Package com.atlassian.jira.config.util
Class IndexPathManager.PropertiesAdaptor
java.lang.Object
com.atlassian.jira.config.util.IndexPathManager.PropertiesAdaptor
- All Implemented Interfaces:
IndexPathManager
- Enclosing interface:
- IndexPathManager
Implementation of
IndexPathManager that uses the ApplicationProperties to get the current paths.
Nothing outside of this class should ever refer to the JIRA_PATH_INDEX ApplicationProperty. That property
needs to be interpreted properly when using JIRA Home.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.config.util.IndexPathManager
IndexPathManager.Directory, IndexPathManager.PropertiesAdaptor -
Field Summary
Fields inherited from interface com.atlassian.jira.config.util.IndexPathManager
INDEXES_DIR -
Constructor Summary
Constructors -
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
-
Constructor Details
-
PropertiesAdaptor
-
-
Method Details
-
getIndexRootPath
Description copied from interface:IndexPathManagerReturns 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.- Specified by:
getIndexRootPathin interfaceIndexPathManager- Returns:
- the root path of JIRA's indexes
-
getIssueIndexPath
Description copied from interface:IndexPathManagerReturns the path of JIRA's issue indexes.- Specified by:
getIssueIndexPathin interfaceIndexPathManager- Returns:
- the path of JIRA's issue indexes
-
getCommentIndexPath
Description copied from interface:IndexPathManagerReturns the path of JIRA's comment indexes.- Specified by:
getCommentIndexPathin interfaceIndexPathManager- Returns:
- the path of JIRA's comment indexes
-
getWorklogIndexPath
Description copied from interface:IndexPathManagerReturns the path of JIRA's worklog indexes- Specified by:
getWorklogIndexPathin interfaceIndexPathManager- Returns:
- the path of JIRA's worklog indexes
-
getChangeHistoryIndexPath
Description copied from interface:IndexPathManagerReturns the path of JIRA's change history indexes.- Specified by:
getChangeHistoryIndexPathin interfaceIndexPathManager- Returns:
- the path of JIRA's change history indexes
-
getPluginIndexRootPath
Description copied from interface:IndexPathManagerReturns the root path of JIRA's plugin indexes.NOTE: Each Plugin should create a new directory under this path
- Specified by:
getPluginIndexRootPathin interfaceIndexPathManager- Returns:
- the root path of JIRA's plugin indexes
-