Interface DataSourceConfiguration
-
- All Known Implementing Classes:
DefaultDataSourceConfiguration
public interface DataSourceConfiguration
If Confluence has been configured to use a DataSource, this component provides access to attributes of the datasource configured in conf/server.xml.- Since:
- 6.11
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Optional<String>
getJdbcUrl()
Optional<Integer>
getPoolSize()
default boolean
isDataSourceConfigured()
-
-
-
Method Detail
-
isDataSourceConfigured
default boolean isDataSourceConfigured()
- Returns:
- true if Confluence is configured to use a DataSource, else false
- Since:
- 8.0
-
getJdbcUrl
Optional<String> getJdbcUrl()
- Returns:
- the dataSource URL, or empty if Confluence is not using a DataSource, or an error occurred getting the value.
-
-