public static enum Database.Product extends Enum<Database.Product>
Enum Constant and Description |
---|
HSQLDB |
MYSQL |
ORACLE |
POSTGRES |
SQL_SERVER |
Modifier and Type | Method and 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.
|
public static final Database.Product HSQLDB
public static final Database.Product MYSQL
public static final Database.Product ORACLE
public static final Database.Product POSTGRES
public static final Database.Product SQL_SERVER
public static Database.Product[] values()
for (Database.Product c : Database.Product.values()) System.out.println(c);
public static Database.Product valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean matches(String toTest)
Copyright © 2003–2015 Atlassian. All rights reserved.