Interface IndexPathManager

All Known Implementing Classes:
IndexPathManager.PropertiesAdaptor, MockIndexPathManager

@PublicApi public interface IndexPathManager
Responsible for determining the current location of JIRA indexes.
  • Field Details

    • INDEXES_DIR

      static final String 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
    • getSharedEntityIndexPath

      String getSharedEntityIndexPath()
      Returns the path of JIRA's shared entity indexes.
      Returns:
      the path of JIRA's shared entity indexes