public enum PersistenceUnit extends Enum<PersistenceUnit>
Enum Constant and Description |
---|
CLEAR_SCHEMA
Persistence unit used for clearing the database schema.
|
DB_QUARTZ_VALIDATE
Persistence unit used for clearing the database schema.
|
DB_TESTING_UPDATE
Persistence unit used for test cases validation.
|
DB_TESTING_VALIDATE
Persistence unit used for test cases validation.
|
SCRIPT_RUNNER
Persistence unit used for SQL scripts execution.
|
Modifier and Type | Method and Description |
---|---|
String |
getDataSourceName() |
String |
getName() |
static PersistenceUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistenceUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistenceUnit SCRIPT_RUNNER
public static final PersistenceUnit DB_TESTING_VALIDATE
public static final PersistenceUnit DB_TESTING_UPDATE
public static final PersistenceUnit CLEAR_SCHEMA
public static final PersistenceUnit DB_QUARTZ_VALIDATE
public static PersistenceUnit[] values()
for (PersistenceUnit c : PersistenceUnit.values()) System.out.println(c);
public static PersistenceUnit 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 getName()
public String getDataSourceName()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.