public enum DBs extends Enum<DBs>
Enum Constant and Description |
---|
MARIADB |
MYSQL |
ORACLE |
POSTGRES |
SQLSERVER |
Modifier and Type | Method and Description |
---|---|
static DBs |
fromDbName(String containerName) |
String |
getName() |
static DBs |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DBs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DBs POSTGRES
public static final DBs MYSQL
public static final DBs MARIADB
public static final DBs SQLSERVER
public static final DBs ORACLE
public static DBs[] values()
for (DBs c : DBs.values()) System.out.println(c);
public static DBs 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 getName()
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.