Package com.atlassian.confluence.util.db
Class DatabaseUtils
- java.lang.Object
-
- com.atlassian.confluence.util.db.DatabaseUtils
-
public class DatabaseUtils extends Object
This class contains database related utilities.- Since:
- 5.9.1
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optional<String>
evaluationDatabaseName()
Returns the name of the currently used evaluation database or empty if using a production database.static Optional<String>
evaluationDatabaseName(BootstrapManager bootstrapManager)
Returns the name of the currently used evaluation database or empty if using a production database.
-
-
-
Method Detail
-
evaluationDatabaseName
public static Optional<String> evaluationDatabaseName()
Returns the name of the currently used evaluation database or empty if using a production database.- Returns:
- name of the currently used evaluation database
-
evaluationDatabaseName
public static Optional<String> evaluationDatabaseName(BootstrapManager bootstrapManager)
Returns the name of the currently used evaluation database or empty if using a production database.- Parameters:
bootstrapManager
- the BootstrapManager- Returns:
- name of the currently used evaluation database
-
-