Package com.exasol.exasoltestsetup
Class SqlConnectionInfo
- java.lang.Object
-
- com.exasol.exasoltestsetup.SqlConnectionInfo
-
public class SqlConnectionInfo extends Object
This class contains information for connecting to the SQL interface.
-
-
Constructor Summary
Constructors Constructor Description SqlConnectionInfo(String host, int port, String user, String password)Create a newSqlConnectionInfoinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetHost()Get the host name.StringgetPassword()Get the password.intgetPort()Get the port number.StringgetUser()Get the user name.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
SqlConnectionInfo
public SqlConnectionInfo(String host, int port, String user, String password)
Create a newSqlConnectionInfoinstance.- Parameters:
host- host nameport- port numberuser- user namepassword- password
-
-
Method Detail
-
getHost
public String getHost()
Get the host name.- Returns:
- host name
-
getPort
public int getPort()
Get the port number.- Returns:
- port number
-
getUser
public String getUser()
Get the user name.- Returns:
- user name
-
getPassword
public String getPassword()
Get the password.- Returns:
- password
-
-