public static enum AutoConfigureEmbeddedDatabase.RefreshMode extends java.lang.Enum<AutoConfigureEmbeddedDatabase.RefreshMode>
| Enum Constant and Description |
|---|
AFTER_CLASS
The database will be reset to its initial state after the test class.
|
AFTER_EACH_TEST_METHOD
The database will be reset to its initial state after each test method in the class.
|
BEFORE_CLASS
The database will be reset to its initial state before the test class.
|
BEFORE_EACH_TEST_METHOD
The database will be reset to its initial state before each test method in the class.
|
NEVER
The database will not be reset at all.
|
| Modifier and Type | Method and Description |
|---|---|
static AutoConfigureEmbeddedDatabase.RefreshMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AutoConfigureEmbeddedDatabase.RefreshMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoConfigureEmbeddedDatabase.RefreshMode NEVER
public static final AutoConfigureEmbeddedDatabase.RefreshMode BEFORE_CLASS
public static final AutoConfigureEmbeddedDatabase.RefreshMode BEFORE_EACH_TEST_METHOD
public static final AutoConfigureEmbeddedDatabase.RefreshMode AFTER_EACH_TEST_METHOD
public static final AutoConfigureEmbeddedDatabase.RefreshMode AFTER_CLASS
public static AutoConfigureEmbeddedDatabase.RefreshMode[] values()
for (AutoConfigureEmbeddedDatabase.RefreshMode c : AutoConfigureEmbeddedDatabase.RefreshMode.values()) System.out.println(c);
public static AutoConfigureEmbeddedDatabase.RefreshMode 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