public static enum DataSourceProvider.Context extends Enum<DataSourceProvider.Context>
Enum Constant and Description |
---|
MULTI_USER |
SINGLE_USER |
Modifier and Type | Method and Description |
---|---|
static DataSourceProvider.Context |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSourceProvider.Context[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSourceProvider.Context SINGLE_USER
public static final DataSourceProvider.Context MULTI_USER
public static DataSourceProvider.Context[] values()
for (DataSourceProvider.Context c : DataSourceProvider.Context.values()) System.out.println(c);
public static DataSourceProvider.Context 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 null