Interface ConfluenceDirectories
-
@ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault public interface ConfluenceDirectoriesProvides 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 FilegetLegacyLuceneIndexDirectory()Deprecated.since 7.14 UsegetLuceneIndexDirectory()static FilegetLegacyLuceneIndexDirectory(com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager)Deprecated.since 7.14 UsegetLuceneIndexDirectory()static FilegetLegacyTempDirectory()Deprecated.since 7.14 UsegetTempDirectory()static FilegetLegacyTempDirectory(com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager)Deprecated.since 7.14 UsegetTempDirectory()PathgetLuceneIndexDirectory()PathgetTempDirectory()
-
-
-
Method Detail
-
getTempDirectory
Path getTempDirectory()
- Returns:
- The
Pathof 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
Pathof 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.
-
-