protected static enum DataSourceHealthIndicator.Product extends Enum<DataSourceHealthIndicator.Product>
Enum Constant and Description |
---|
DB2 |
DERBY |
FIREBIRD |
HSQLDB |
INFORMIX |
ORACLE |
Modifier and Type | Method and Description |
---|---|
static DataSourceHealthIndicator.Product |
forProduct(String product) |
String |
getQuery() |
protected boolean |
matchesProduct(String product) |
static DataSourceHealthIndicator.Product |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSourceHealthIndicator.Product[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSourceHealthIndicator.Product HSQLDB
public static final DataSourceHealthIndicator.Product ORACLE
public static final DataSourceHealthIndicator.Product DERBY
public static final DataSourceHealthIndicator.Product DB2
public static final DataSourceHealthIndicator.Product INFORMIX
public static final DataSourceHealthIndicator.Product FIREBIRD
public static DataSourceHealthIndicator.Product[] values()
for (DataSourceHealthIndicator.Product c : DataSourceHealthIndicator.Product.values()) System.out.println(c);
public static DataSourceHealthIndicator.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 nullprotected boolean matchesProduct(String product)
public String getQuery()
public static DataSourceHealthIndicator.Product forProduct(String product)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.