public static class IndexPathManager.PropertiesAdaptor extends Object implements IndexPathManager
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.IndexPathManager.Directory, IndexPathManager.PropertiesAdaptor
INDEXES_DIR
Constructor and Description |
---|
PropertiesAdaptor(JiraHome jiraHome) |
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 |
getIndexRootPath()
Returns the root path of JIRA's indexes.
|
String |
getIssueIndexPath()
Returns the path of JIRA's issue indexes.
|
String |
getPluginIndexRootPath()
Returns the root path of JIRA's plugin indexes.
|
String |
getSharedEntityIndexPath()
Returns the path of JIRA's shared entity indexes.
|
String |
getWorklogIndexPath()
Returns the path of JIRA's worklog indexes
|
public PropertiesAdaptor(JiraHome jiraHome)
public String getIndexRootPath()
IndexPathManager
getIndexRootPath
in interface IndexPathManager
public String getIssueIndexPath()
IndexPathManager
getIssueIndexPath
in interface IndexPathManager
public String getCommentIndexPath()
IndexPathManager
getCommentIndexPath
in interface IndexPathManager
public String getWorklogIndexPath()
IndexPathManager
getWorklogIndexPath
in interface IndexPathManager
public String getChangeHistoryIndexPath()
IndexPathManager
getChangeHistoryIndexPath
in interface IndexPathManager
public String getSharedEntityIndexPath()
IndexPathManager
getSharedEntityIndexPath
in interface IndexPathManager
public String getPluginIndexRootPath()
IndexPathManager
NOTE: Each Plugin should create a new directory under this path
getPluginIndexRootPath
in interface IndexPathManager
Copyright © 2002-2022 Atlassian. All Rights Reserved.