Package org.duracloud.snapshot.db
Class DatabaseConfig
- java.lang.Object
-
- org.duracloud.snapshot.db.DatabaseConfig
-
public class DatabaseConfig extends Object
- Author:
- Daniel Bernstein Date: Feb 12, 2014
-
-
Constructor Summary
Constructors Constructor Description DatabaseConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPassword()StringgetUrl()StringgetUsername()booleanisClean()voidsetClean(boolean clean)Flag indicating that the database should be wiped clean on initialization.voidsetPassword(String password)voidsetUrl(String url)voidsetUsername(String username)
-
-
-
Method Detail
-
getUrl
public String getUrl()
- Returns:
- the url
-
setUrl
public void setUrl(String url)
- Parameters:
url- the url to set
-
getUsername
public String getUsername()
- Returns:
- the username
-
setUsername
public void setUsername(String username)
- Parameters:
username- the username to set
-
getPassword
public String getPassword()
- Returns:
- the password
-
setPassword
public void setPassword(String password)
- 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
-
-