public static enum OdeConfigProperties.DatabaseMode extends java.lang.Enum<OdeConfigProperties.DatabaseMode>
Enum Constant and Description |
---|
EMBEDDED
Embedded database (Ode provides default embedded database with connection pool)
|
EXTERNAL
External data-source (managed by app server)
|
INTERNAL
Internal data-source (User provides database info, Ode provides connection pool)
|
Modifier and Type | Method and Description |
---|---|
static OdeConfigProperties.DatabaseMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OdeConfigProperties.DatabaseMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OdeConfigProperties.DatabaseMode EXTERNAL
public static final OdeConfigProperties.DatabaseMode INTERNAL
public static final OdeConfigProperties.DatabaseMode EMBEDDED
public static OdeConfigProperties.DatabaseMode[] values()
for (OdeConfigProperties.DatabaseMode c : OdeConfigProperties.DatabaseMode.values()) System.out.println(c);
public static OdeConfigProperties.DatabaseMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null