Interface ConnectionBuilder
- All Known Subinterfaces:
DBConnectionBuilder
public interface ConnectionBuilder
Connection builder
-
Method Summary
Modifier and TypeMethodDescriptionGet the description of the connectiongetName()Get the name of the connectiongetType()Get the connection typesetDescription(String description) Set the description of the connectionSet the name of the connection.
-
Method Details
-
getType
ConnectionType getType()Get the connection type- Returns:
- the connection type
-
setName
Set the name of the connection.- Parameters:
name- the name of the connection- Returns:
- the connection builder itself
-
getName
String getName()Get the name of the connection- Returns:
- the name of the connection
-
setDescription
Set the description of the connection- Parameters:
description- the description of the connection- Returns:
- the connection builder itself
-
getDescription
String getDescription()Get the description of the connection- Returns:
- the description of the connection
-