public enum InternalDBFlavor extends java.lang.Enum<InternalDBFlavor>
| Enum Constant and Description |
|---|
HSQL |
NOT_DEFINED |
SQLITE |
TEMP_UPG_REQUIRED |
| Modifier and Type | Method and Description |
|---|---|
static InternalDBFlavor |
flavorOfBackup(java.lang.String backupFilename)
For a given file name (that would be contained in a system backup file), returns the db flavor it represents
|
static InternalDBFlavor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InternalDBFlavor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InternalDBFlavor NOT_DEFINED
public static final InternalDBFlavor HSQL
public static final InternalDBFlavor SQLITE
public static final InternalDBFlavor TEMP_UPG_REQUIRED
public static InternalDBFlavor[] values()
for (InternalDBFlavor c : InternalDBFlavor.values()) System.out.println(c);
public static InternalDBFlavor valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static InternalDBFlavor flavorOfBackup(java.lang.String backupFilename)