Package com.atlassian.confluence.it
Enum Database.Product
- java.lang.Object
-
- java.lang.Enum<Database.Product>
-
- com.atlassian.confluence.it.Database.Product
-
- All Implemented Interfaces:
Serializable
,Comparable<Database.Product>
- Enclosing class:
- Database
public static enum Database.Product extends Enum<Database.Product>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HSQLDB
MYSQL
ORACLE
POSTGRES
SQL_SERVER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(String toTest)
static Database.Product
valueOf(String name)
Returns the enum constant of this type with the specified name.static Database.Product[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HSQLDB
public static final Database.Product HSQLDB
-
MYSQL
public static final Database.Product MYSQL
-
ORACLE
public static final Database.Product ORACLE
-
POSTGRES
public static final Database.Product POSTGRES
-
SQL_SERVER
public static final Database.Product SQL_SERVER
-
-
Method Detail
-
values
public static Database.Product[] 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.Product c : Database.Product.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.Product 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
-
matches
public boolean matches(String toTest)
-
-