Enum ValidationLevel
- java.lang.Object
-
- java.lang.Enum<ValidationLevel>
-
- org.eclipse.emf.edapt.internal.migration.execution.ValidationLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<ValidationLevel>
public enum ValidationLevel extends Enum<ValidationLevel>
Enumeration for the validation level- Since:
- 1.1
- Version:
- $Rev$
- Author:
- herrmama, $Author$
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGE
The model is validated after each change.CUSTOM_MIGRATION
The model is validated after each custom migration.HISTORY
The model is validated before and after migration.NONE
No validation at all.RELEASE
The model is validated after each release.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ValidationLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static ValidationLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ValidationLevel NONE
No validation at all.
-
HISTORY
public static final ValidationLevel HISTORY
The model is validated before and after migration.
-
RELEASE
public static final ValidationLevel RELEASE
The model is validated after each release.
-
CUSTOM_MIGRATION
public static final ValidationLevel CUSTOM_MIGRATION
The model is validated after each custom migration.
-
CHANGE
public static final ValidationLevel CHANGE
The model is validated after each change.
-
-
Method Detail
-
values
public static ValidationLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ValidationLevel c : ValidationLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValidationLevel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-