public static enum AppProperties.DB_TYPE extends Enum<AppProperties.DB_TYPE>
Enum Constant and Description |
---|
H2DB |
H2DB_EMBEDDED |
MARIADB |
MYSQL |
POSTGRESQL |
Modifier and Type | Method and Description |
---|---|
static AppProperties.DB_TYPE |
fromString(String text) |
static AppProperties.DB_TYPE |
get(int id) |
String |
getText() |
static AppProperties.DB_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppProperties.DB_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppProperties.DB_TYPE H2DB_EMBEDDED
public static final AppProperties.DB_TYPE H2DB
public static final AppProperties.DB_TYPE MYSQL
public static final AppProperties.DB_TYPE MARIADB
public static final AppProperties.DB_TYPE POSTGRESQL
public static AppProperties.DB_TYPE[] values()
for (AppProperties.DB_TYPE c : AppProperties.DB_TYPE.values()) System.out.println(c);
public static AppProperties.DB_TYPE 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 String getText()
public static AppProperties.DB_TYPE get(int id)
public static AppProperties.DB_TYPE fromString(String text)
Copyright © 2015–2019. All rights reserved.