com.atlassian.jira.config.util.IndexPathManager |
![]() |
Clients of @PublicApi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi
as per each product's API policy as long as the client does not implement/extend
@PublicApi
interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi
interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi
are safe to extend/implement).
Responsible for determining the current location of JIRA indexes.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
IndexPathManager.Directory | |||||||||||
IndexPathManager.Mode | |||||||||||
IndexPathManager.PropertiesAdaptor | Implementation of IndexPathManager that uses the ApplicationProperties to get the current paths. |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
INDEXES_DIR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the path of JIRA's change history indexes.
| |||||||||||
Returns the path of JIRA's comment indexes.
| |||||||||||
This returns the root index directory that JIRA will use by default, if it is configured to do so.
| |||||||||||
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.
| |||||||||||
Whether we are using the default index directory (within JIRA Home).
| |||||||||||
Returns the path of JIRA's worklog indexes
| |||||||||||
Specify an explicit index root path.
| |||||||||||
Specify that the default location within JIRA Home should be used to store indexes.
|
Returns the path of JIRA's change history indexes.
Returns the path of JIRA's comment indexes.
This returns the root index directory that JIRA will use by default, if it is configured to do so. 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/indexes/.
Returns the root path of JIRA's indexes. If JIRA is configured to "Use the Default Index Directory", then the absolute path of that default directory is returned.
Returns the path of JIRA's issue indexes.
Returns the root path of JIRA's plugin indexes.
NOTE: Each Plugin should create a new directory under this path
Returns the path of JIRA's shared entity indexes.
Whether we are using the default index directory (within JIRA Home).
Returns the path of JIRA's worklog indexes
Specify an explicit index root path.
indexPath | the path to use |
---|
Specify that the default location within JIRA Home should be used to store indexes.