Enum DataSourceTemplate.Vendor
- java.lang.Object
-
- java.lang.Enum<DataSourceTemplate.Vendor>
-
- org.jboss.hal.client.configuration.subsystem.datasource.DataSourceTemplate.Vendor
-
- All Implemented Interfaces:
Serializable,Comparable<DataSourceTemplate.Vendor>
- Enclosing class:
- DataSourceTemplate
public static enum DataSourceTemplate.Vendor extends Enum<DataSourceTemplate.Vendor>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DB2H2MARIA_DBMYSQLORACLEPOSTGRE_SQLSQL_SERVERSYBASE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataSourceTemplate.VendorvalueOf(String name)Returns the enum constant of this type with the specified name.static DataSourceTemplate.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 DataSourceTemplate.Vendor H2
-
POSTGRE_SQL
public static final DataSourceTemplate.Vendor POSTGRE_SQL
-
MYSQL
public static final DataSourceTemplate.Vendor MYSQL
-
ORACLE
public static final DataSourceTemplate.Vendor ORACLE
-
SQL_SERVER
public static final DataSourceTemplate.Vendor SQL_SERVER
-
DB2
public static final DataSourceTemplate.Vendor DB2
-
SYBASE
public static final DataSourceTemplate.Vendor SYBASE
-
MARIA_DB
public static final DataSourceTemplate.Vendor MARIA_DB
-
-
Field Detail
-
label
public final String label
-
-
Method Detail
-
values
public static DataSourceTemplate.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 (DataSourceTemplate.Vendor c : DataSourceTemplate.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 DataSourceTemplate.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
-
-