public class ServerParameters extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
password
The password.
|
protected Map<String,String> |
properties
The properties.
|
protected String |
url
The url.
|
protected String |
user
The user.
|
Constructor and Description |
---|
ServerParameters()
Instantiates a new server parameters.
|
ServerParameters(String url,
String user,
String password,
Map<String,String> properties)
Instantiates a new server parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getPassword()
Gets the password.
|
Map<String,String> |
getProperties()
Gets the properties.
|
String |
getUrl()
Gets the url.
|
String |
getUser()
Gets the user.
|
void |
setPassword(String password)
Sets the password.
|
void |
setProperties(Map<String,String> properties)
Sets the properties.
|
void |
setUrl(String url)
Sets the url.
|
void |
setUser(String user)
Sets the user.
|
String |
toString() |
protected String url
protected String user
protected String password
public String getUrl()
public void setUrl(String url)
url
- the new urlpublic String getUser()
public void setUser(String user)
user
- the new userpublic String getPassword()
public void setPassword(String password)
password
- the new passwordpublic Map<String,String> getProperties()
public void setProperties(Map<String,String> properties)
properties
- the propertiesCopyright © 2018. All Rights Reserved.