Package org.duracloud.snapshot.db
Class DatabaseConfig
java.lang.Object
org.duracloud.snapshot.db.DatabaseConfig
- Author:
- Daniel Bernstein Date: Feb 12, 2014
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUrl()booleanisClean()voidsetClean(boolean clean) Flag indicating that the database should be wiped clean on initialization.voidsetPassword(String password) voidvoidsetUsername(String username)
-
Constructor Details
-
DatabaseConfig
public DatabaseConfig()
-
-
Method Details
-
getUrl
- Returns:
- the url
-
setUrl
- Parameters:
url- the url to set
-
getUsername
- Returns:
- the username
-
setUsername
- Parameters:
username- the username to set
-
getPassword
- Returns:
- the password
-
setPassword
- Parameters:
password- the password to set
-
isClean
public boolean isClean()- Returns:
- the clean
-
setClean
public void setClean(boolean clean) Flag indicating that the database should be wiped clean on initialization.- Parameters:
clean- the clean to set
-