public class BaseDatabaseConfiguration extends Object
Constructor and Description |
---|
BaseDatabaseConfiguration() |
Modifier and Type | Method and Description |
---|---|
ConflictResolver |
getConflictResolver() |
File |
getDirectory()
Returns the path to the directory to store the database in.
|
EncryptionKey |
getEncryptionKey()
Returns a key to encrypt the database with.
|
BaseDatabaseConfiguration |
setConflictResolver(ConflictResolver conflictResolver) |
BaseDatabaseConfiguration |
setDirectory(File directory)
Set the path to the directory to store the database in.
|
BaseDatabaseConfiguration |
setEncryptionKey(EncryptionKey encryptionKey)
Set a key to encrypt the database with.
|
public File getDirectory()
public BaseDatabaseConfiguration setDirectory(File directory)
directory
- the directorypublic EncryptionKey getEncryptionKey()
public BaseDatabaseConfiguration setEncryptionKey(EncryptionKey encryptionKey)
encryptionKey
- the keypublic ConflictResolver getConflictResolver()
public BaseDatabaseConfiguration setConflictResolver(ConflictResolver conflictResolver)