@ConfigurationProperties(prefix="dataflow.database.h2") public class H2ConfigurationProperties extends Object
Constructor and Description |
---|
H2ConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getDatabase()
Gets the database name.
|
String |
getDirectory()
Gets the data directory.
|
String |
getPassword()
Gets the password.
|
int |
getPort()
Gets the port.
|
String |
getUsername()
Gets the username.
|
void |
setDatabase(String database)
Sets the database name.
|
void |
setDirectory(String directory)
Sets the data directory
|
void |
setPassword(String password)
Sets the password.
|
void |
setPort(int port)
Sets the port.
|
void |
setUsername(String username)
Sets the username.
|
String |
toString() |
public int getPort()
public void setPort(int port)
port
- the new portpublic String getUsername()
public void setUsername(String username)
username
- the new usernamepublic String getPassword()
public void setPassword(String password)
password
- the new passwordpublic String getDatabase()
public void setDatabase(String database)
database
- the new database namepublic String getDirectory()
public void setDirectory(String directory)
directory
- the new data directoryCopyright © 2016 Pivotal Software, Inc.. All rights reserved.