public enum DbClientManager extends Enum<DbClientManager>
| Enum Constant and Description |
|---|
INSTANCE
Singleton instance
|
| Modifier and Type | Method and Description |
|---|---|
static DbClient |
getByName(String name) |
static DbClientBuilder |
newBuilder(DbType dbType) |
static DbClientManager |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DbClientManager[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DbClientManager INSTANCE
public static DbClientManager[] values()
for (DbClientManager c : DbClientManager.values()) System.out.println(c);
public static DbClientManager 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 DbClient getByName(String name)
name - Name of a registered database clientDbClient instancepublic static DbClientBuilder newBuilder(DbType dbType)
dbType - Type of the database to be usedDbClientBuilder instanceCopyright © 2019. All rights reserved.