public static enum AutoConfigureTestDatabase.Replace extends Enum<AutoConfigureTestDatabase.Replace>
Enum Constant and Description |
---|
ANY
Replace the DataSource bean whether it was auto-configured or manually defined.
|
AUTO_CONFIGURED
Only replace the DataSource if it was auto-configured.
|
NONE
Don't replace the application default DataSource.
|
Modifier and Type | Method and Description |
---|---|
static AutoConfigureTestDatabase.Replace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutoConfigureTestDatabase.Replace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoConfigureTestDatabase.Replace ANY
public static final AutoConfigureTestDatabase.Replace AUTO_CONFIGURED
public static final AutoConfigureTestDatabase.Replace NONE
public static AutoConfigureTestDatabase.Replace[] values()
for (AutoConfigureTestDatabase.Replace c : AutoConfigureTestDatabase.Replace.values()) System.out.println(c);
public static AutoConfigureTestDatabase.Replace 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 null