Package org.jboss.hal.core.datasource
Enum JdbcDriver.Provider
- java.lang.Object
-
- java.lang.Enum<JdbcDriver.Provider>
-
- org.jboss.hal.core.datasource.JdbcDriver.Provider
-
- All Implemented Interfaces:
Serializable,Comparable<JdbcDriver.Provider>
- Enclosing class:
- JdbcDriver
public static enum JdbcDriver.Provider extends Enum<JdbcDriver.Provider>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPLOYMENTMODULEUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringtext()static JdbcDriver.ProvidervalueOf(String name)Returns the enum constant of this type with the specified name.static JdbcDriver.Provider[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final JdbcDriver.Provider UNKNOWN
-
DEPLOYMENT
public static final JdbcDriver.Provider DEPLOYMENT
-
MODULE
public static final JdbcDriver.Provider MODULE
-
-
Method Detail
-
values
public static JdbcDriver.Provider[] 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 (JdbcDriver.Provider c : JdbcDriver.Provider.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JdbcDriver.Provider 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
-
text
public String text()
-
-