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
All Methods Static Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description static File
getLegacyLuceneIndexDirectory()
Deprecated.since 7.14 UsegetLuceneIndexDirectory()
static File
getLegacyLuceneIndexDirectory(com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager)
Deprecated.since 7.14 UsegetLuceneIndexDirectory()
static File
getLegacyTempDirectory()
Deprecated.since 7.14 UsegetTempDirectory()
static File
getLegacyTempDirectory(com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager)
Deprecated.since 7.14 UsegetTempDirectory()
Path
getLuceneIndexDirectory()
Path
getTempDirectory()
-
-
-
Method Detail
-
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
@Internal Path 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 static File 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 @Internal static File 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.
-
-