Package io.apicurio.registry.ccompat.dto
Enum CompatibilityLevelDto.Level
- java.lang.Object
-
- java.lang.Enum<CompatibilityLevelDto.Level>
-
- io.apicurio.registry.ccompat.dto.CompatibilityLevelDto.Level
-
- All Implemented Interfaces:
Serializable
,Comparable<CompatibilityLevelDto.Level>
- Enclosing class:
- CompatibilityLevelDto
public static enum CompatibilityLevelDto.Level extends Enum<CompatibilityLevelDto.Level>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKWARD
BACKWARD_TRANSITIVE
FORWARD
FORWARD_TRANSITIVE
FULL
FULL_TRANSITIVE
NONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CompatibilityLevelDto.Level
create(Optional<CompatibilityLevel> source)
static CompatibilityLevelDto.Level
valueOf(String name)
Returns the enum constant of this type with the specified name.static CompatibilityLevelDto.Level[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BACKWARD
public static final CompatibilityLevelDto.Level BACKWARD
-
BACKWARD_TRANSITIVE
public static final CompatibilityLevelDto.Level BACKWARD_TRANSITIVE
-
FORWARD
public static final CompatibilityLevelDto.Level FORWARD
-
FORWARD_TRANSITIVE
public static final CompatibilityLevelDto.Level FORWARD_TRANSITIVE
-
FULL
public static final CompatibilityLevelDto.Level FULL
-
FULL_TRANSITIVE
public static final CompatibilityLevelDto.Level FULL_TRANSITIVE
-
NONE
public static final CompatibilityLevelDto.Level NONE
-
-
Method Detail
-
values
public static CompatibilityLevelDto.Level[] 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 (CompatibilityLevelDto.Level c : CompatibilityLevelDto.Level.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompatibilityLevelDto.Level 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
-
create
public static CompatibilityLevelDto.Level create(Optional<CompatibilityLevel> source)
-
-