public enum DataSourceType extends Enum<DataSourceType>
| Enum Constant and Description |
|---|
APPLICATION
The data source comes from the configured
com.atlassian.sal.api.sql.DataSourceProvider
provided by the host application. |
HSQLDB
The data source is an HSQL database 'somewhere' in the home directory of the application
|
| Modifier and Type | Method and Description |
|---|---|
static DataSourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSourceType APPLICATION
com.atlassian.sal.api.sql.DataSourceProvider
provided by the host application.public static final DataSourceType HSQLDB
public static DataSourceType[] values()
for (DataSourceType c : DataSourceType.values()) System.out.println(c);
public static DataSourceType 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 nullCopyright © 2018 Atlassian. All rights reserved.