|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ValidationErrorMode>
com.googlecode.flyway.core.validation.ValidationErrorMode
public enum ValidationErrorMode
Mode for handling validation errors.
| Enum Constant Summary | |
|---|---|
CLEAN
Cleans the database. |
|
FAIL
Throw an exception and fail. |
|
| Method Summary | |
|---|---|
static ValidationErrorMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ValidationErrorMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ValidationErrorMode FAIL
public static final ValidationErrorMode CLEAN
This is exclusively intended as a convenience for development. Even tough we strongly recommend not to change migration scripts once they have been checked into SCM and run, this provides a way of dealing with this case in a smooth manner. The database will be wiped clean automatically, ensuring that the next migration will bring you back to the state checked into SCM.
| Method Detail |
|---|
public static final ValidationErrorMode[] values()
for(ValidationErrorMode c : ValidationErrorMode.values())
System.out.println(c);
public static ValidationErrorMode 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 name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||