Interface ConfluenceDirectories
@ParametersAreNonnullByDefault
@ReturnValuesAreNonnullByDefault
public interface ConfluenceDirectories
Provides operations to obtain the location of various filesystem directory locations used by Confluence.
- Since:
- 7.14
-
Method Summary
Modifier and TypeMethodDescriptionstatic File
Deprecated.static File
getLegacyLuceneIndexDirectory
(com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager) Deprecated.since 7.14 UsegetLuceneIndexDirectory()
static File
Deprecated.since 7.14 UsegetTempDirectory()
static File
getLegacyTempDirectory
(com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager) Deprecated.since 7.14 UsegetTempDirectory()
-
Method Details
-
getTempDirectory
Path getTempDirectory()- Returns:
- The
Path
of the directory for storing temporary files. - Throws:
IllegalStateException
- if the directory has not yet been configured (e.g. during setup)
-
getLuceneIndexDirectory
- Returns:
- The
Path
of the directory for storing the Lucene index. - Throws:
IllegalStateException
- if the directory has not yet been configured (e.g. during setup)
-
getLegacyTempDirectory
Deprecated.since 7.14 UsegetTempDirectory()
A legacy convenience method for obtaining the temp directory path statically. -
getLegacyTempDirectory
@Deprecated static File getLegacyTempDirectory(com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager) Deprecated.since 7.14 UsegetTempDirectory()
A legacy convenience method for obtaining the temp directory path statically. -
getLegacyLuceneIndexDirectory
Deprecated.since 7.14 UsegetLuceneIndexDirectory()
A legacy convenience method for obtaining the Lucene index directory path statically. -
getLegacyLuceneIndexDirectory
@Deprecated @Internal static File getLegacyLuceneIndexDirectory(com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager) Deprecated.since 7.14 UsegetLuceneIndexDirectory()
A legacy convenience method for obtaining the Lucene index directory path statically.
-
getLuceneIndexDirectory()