Class MockIndexPathManager

java.lang.Object
com.atlassian.jira.config.util.MockIndexPathManager
All Implemented Interfaces:
IndexPathManager

public class MockIndexPathManager extends Object implements IndexPathManager
Since:
v4.0
  • Field Details

  • Constructor Details

    • MockIndexPathManager

      @Deprecated public MockIndexPathManager()
      Deprecated.
    • MockIndexPathManager

      public MockIndexPathManager(File indexDirectory)
  • Method Details

    • getIndexRootPath

      public String getIndexRootPath()
      Description copied from interface: IndexPathManager
      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.
      Specified by:
      getIndexRootPath in interface IndexPathManager
      Returns:
      the root path of JIRA's indexes
    • getIssueIndexPath

      public String getIssueIndexPath()
      Description copied from interface: IndexPathManager
      Returns the path of JIRA's issue indexes.
      Specified by:
      getIssueIndexPath in interface IndexPathManager
      Returns:
      the path of JIRA's issue indexes
    • getCommentIndexPath

      public String getCommentIndexPath()
      Description copied from interface: IndexPathManager
      Returns the path of JIRA's comment indexes.
      Specified by:
      getCommentIndexPath in interface IndexPathManager
      Returns:
      the path of JIRA's comment indexes
    • getChangeHistoryIndexPath

      public String getChangeHistoryIndexPath()
      Description copied from interface: IndexPathManager
      Returns the path of JIRA's change history indexes.
      Specified by:
      getChangeHistoryIndexPath in interface IndexPathManager
      Returns:
      the path of JIRA's change history indexes
    • getWorklogIndexPath

      public String getWorklogIndexPath()
      Description copied from interface: IndexPathManager
      Returns the path of JIRA's worklog indexes
      Specified by:
      getWorklogIndexPath in interface IndexPathManager
      Returns:
      the path of JIRA's worklog indexes
    • getPluginIndexRootPath

      public String getPluginIndexRootPath()
      Description copied from interface: IndexPathManager
      Returns the root path of JIRA's plugin indexes.

      NOTE: Each Plugin should create a new directory under this path

      Specified by:
      getPluginIndexRootPath in interface IndexPathManager
      Returns:
      the root path of JIRA's plugin indexes
    • getSharedEntityIndexPath

      public String getSharedEntityIndexPath()
      Description copied from interface: IndexPathManager
      Returns the path of JIRA's shared entity indexes.
      Specified by:
      getSharedEntityIndexPath in interface IndexPathManager
      Returns:
      the path of JIRA's shared entity indexes