Package org.keycloak.config.database
Enum Database.Vendor
- java.lang.Object
-
- java.lang.Enum<Database.Vendor>
-
- org.keycloak.config.database.Database.Vendor
-
- All Implemented Interfaces:
Serializable,Comparable<Database.Vendor>
- Enclosing class:
- Database
public static enum Database.Vendor extends Enum<Database.Vendor>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisOfKind(String dbKind)StringtoString()static Database.VendorvalueOf(String name)Returns the enum constant of this type with the specified name.static Database.Vendor[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
H2
public static final Database.Vendor H2
-
MYSQL
public static final Database.Vendor MYSQL
-
MARIADB
public static final Database.Vendor MARIADB
-
POSTGRES
public static final Database.Vendor POSTGRES
-
MSSQL
public static final Database.Vendor MSSQL
-
ORACLE
public static final Database.Vendor ORACLE
-
-
Method Detail
-
values
public static Database.Vendor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Database.Vendor c : Database.Vendor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Database.Vendor valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isOfKind
public boolean isOfKind(String dbKind)
-
toString
public String toString()
- Overrides:
toStringin classEnum<Database.Vendor>
-
-