Package de.hybris.platform.util
Enum Config.DatabaseName
- java.lang.Object
-
- java.lang.Enum<Config.DatabaseName>
-
- de.hybris.platform.util.Config.DatabaseName
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Config.DatabaseName>
- Enclosing class:
- Config
public static enum Config.DatabaseName extends java.lang.Enum<Config.DatabaseName>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Config.DatabaseNamefromString(java.lang.String dbName)java.lang.StringgetName()static Config.DatabaseNamevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Config.DatabaseName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HSQLDB
public static final Config.DatabaseName HSQLDB
-
ORACLE
public static final Config.DatabaseName ORACLE
-
MYSQL
public static final Config.DatabaseName MYSQL
-
SQLSERVER
public static final Config.DatabaseName SQLSERVER
-
HANA
public static final Config.DatabaseName HANA
-
POSTGRESQL
public static final Config.DatabaseName POSTGRESQL
-
-
Method Detail
-
values
public static Config.DatabaseName[] 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 (Config.DatabaseName c : Config.DatabaseName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Config.DatabaseName valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getName
public java.lang.String getName()
-
fromString
public static Config.DatabaseName fromString(java.lang.String dbName)
-
-