public class XMLStorageConf extends Object implements StorageConf
| Modifier | Constructor and Description |
|---|---|
protected |
XMLStorageConf() |
|
XMLStorageConf(File file) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
File |
getFile() |
String |
getLongDescription()
Description explaining advantages and disadvantages of the storage.
|
String |
getShortDescription()
A one line description (for displaying in a list or else).
|
int |
hashCode() |
void |
validate()
Validates the storage configuration (e.g.a database could validate the
current database scheme against a persisted one and offer a migration
guide if changes were detected).
|
protected XMLStorageConf()
public XMLStorageConf(File file)
public File getFile()
public void validate()
throws StorageConfValidationException
StorageConfvalidate in interface StorageConfStorageConfValidationException - if the storage configuration
validation failspublic String getShortDescription()
StorageConfgetShortDescription in interface StorageConfpublic String getLongDescription()
StorageConfgetLongDescription in interface StorageConfCopyright © 2018. All rights reserved.