Interface DBConnectionBuilder
- All Superinterfaces:
ConnectionBuilder
Database connection builder
-
Method Summary
Modifier and TypeMethodDescriptionGet the connection stringGet the database type.Set the url of connection string for database connectionsetDatabaseType
(DatabaseType type) Set the database type.Methods inherited from interface com.deiser.jira.profields.api.connection.ConnectionBuilder
getDescription, getName, getType, setDescription, setName
-
Method Details
-
setConnectionString
Set the url of connection string for database connection- Parameters:
url
- the database url- Returns:
- the DBConnectionBuilder itself
-
getConnectionString
String getConnectionString()Get the connection string- Returns:
- the database url
-
setDatabaseType
Set the database type.- Parameters:
type
- the type of the database- Returns:
- the DBConnectionBuilder itself
-
getDatabaseType
DatabaseType getDatabaseType()Get the database type.- Returns:
- the database type
-