public enum BuiltInCleanupStrategy extends Enum<BuiltInCleanupStrategy>
@Cleanup operation.| Modifier and Type | Class and Description |
|---|---|
static interface |
BuiltInCleanupStrategy.StrategyProvider<T> |
| Enum Constant and Description |
|---|
DEFAULT
This is guarding enum instance used to indicate
that use has not defined cleanup strategy explicitly.
|
STRICT
Cleans entire database.
|
USED_ROWS_ONLY
Deletes only those entries which were defined in data sets.
|
USED_TABLES_ONLY
Deletes only those tables which were used in data sets.
|
| Modifier and Type | Method and Description |
|---|---|
abstract <T> T |
provide(BuiltInCleanupStrategy.StrategyProvider<T> provider) |
static BuiltInCleanupStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuiltInCleanupStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuiltInCleanupStrategy STRICT
public static final BuiltInCleanupStrategy USED_ROWS_ONLY
public static final BuiltInCleanupStrategy USED_TABLES_ONLY
public static final BuiltInCleanupStrategy DEFAULT
arquillian.xml
should be used.public static BuiltInCleanupStrategy[] values()
for (BuiltInCleanupStrategy c : BuiltInCleanupStrategy.values()) System.out.println(c);
public static BuiltInCleanupStrategy 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 abstract <T> T provide(BuiltInCleanupStrategy.StrategyProvider<T> provider)
Copyright © 2018 JBoss by Red Hat. All rights reserved.