|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.config.util.IndexPathManager.PropertiesAdaptor
public static class IndexPathManager.PropertiesAdaptor
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.Mode, IndexPathManager.PropertiesAdaptor |
Field Summary |
---|
Fields inherited from interface com.atlassian.jira.config.util.IndexPathManager |
---|
INDEXES_DIR |
Constructor Summary | |
---|---|
IndexPathManager.PropertiesAdaptor(ApplicationProperties applicationProperties,
JiraHome jiraHome)
|
Method Summary | |
---|---|
String |
getChangeHistoryIndexPath()
Returns the path of JIRA's change history indexes. |
String |
getCommentIndexPath()
Returns the path of JIRA's comment indexes. |
String |
getDefaultIndexRootPath()
This returns the root index directory that JIRA will use by default, if it is configured to do so. |
String |
getIndexRootPath()
Returns the root path of JIRA's indexes. |
String |
getIssueIndexPath()
Returns the path of JIRA's issue indexes. |
IndexPathManager.Mode |
getMode()
|
String |
getPluginIndexRootPath()
Returns the root path of JIRA's plugin indexes. |
String |
getSharedEntityIndexPath()
Returns the path of JIRA's shared entity indexes. |
boolean |
getUseDefaultDirectory()
Whether we are using the default index directory (within JIRA Home). |
void |
setIndexRootPath(String rootPath)
Specify an explicit index root path. |
void |
setUseDefaultDirectory()
Specify that the default location within JIRA Home should be used to store indexes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexPathManager.PropertiesAdaptor(ApplicationProperties applicationProperties, JiraHome jiraHome)
Method Detail |
---|
public String getIndexRootPath()
IndexPathManager
getIndexRootPath
in interface IndexPathManager
public String getDefaultIndexRootPath()
IndexPathManager
getDefaultIndexRootPath
in interface IndexPathManager
public void setIndexRootPath(String rootPath)
IndexPathManager
setIndexRootPath
in interface IndexPathManager
rootPath
- the path to usepublic void setUseDefaultDirectory()
IndexPathManager
setUseDefaultDirectory
in interface IndexPathManager
public boolean getUseDefaultDirectory()
IndexPathManager
getUseDefaultDirectory
in interface IndexPathManager
public IndexPathManager.Mode getMode()
getMode
in interface IndexPathManager
public String getIssueIndexPath()
IndexPathManager
getIssueIndexPath
in interface IndexPathManager
public String getCommentIndexPath()
IndexPathManager
getCommentIndexPath
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |