public enum DbVersions extends Enum<DbVersions>
Enum Constant and Description |
---|
UNINITIALIZED
No tables present.
|
VERSION_1
Runs and tests tables, initial.
|
VERSION_2
DBVERSION present.
|
Modifier and Type | Field and Description |
---|---|
int |
version |
Modifier and Type | Method and Description |
---|---|
static DbVersions |
fromInt(int ver)
Return
|
static DbVersions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DbVersions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DbVersions UNINITIALIZED
public static final DbVersions VERSION_1
public static final DbVersions VERSION_2
ALTER TABLE RUNS ADD CUSTOM_KEY VARCHAR(500);
public static DbVersions[] values()
for (DbVersions c : DbVersions.values()) System.out.println(c);
public static DbVersions valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static DbVersions fromInt(int ver)
Copyright © 2018 Carrot Search s.c.. All rights reserved.