public enum PersistenceType extends Enum<PersistenceType>
Enum Constant and Description |
---|
H2
H2 database for testing purposes
|
PGSQL
PostgreSQL database
|
Modifier and Type | Method and Description |
---|---|
String |
getBinaryStoreUrl() |
String |
getConnUrl() |
String |
getDriver() |
String |
getEvaluatedBinaryStoreUrl() |
String |
getEvaluatedConnUrl() |
boolean |
isExternal()
In cases like PGSQL, the data store is externally managed while H2 is internally managed.
|
static PersistenceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistenceType H2
public static final PersistenceType PGSQL
public static PersistenceType[] values()
for (PersistenceType c : PersistenceType.values()) System.out.println(c);
public static PersistenceType 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 String getConnUrl()
public String getEvaluatedConnUrl()
public String getBinaryStoreUrl()
public String getEvaluatedBinaryStoreUrl()
public String getDriver()
public boolean isExternal()
Copyright © 2013–2019. All rights reserved.