public static enum CompatibilityLevelDto.Level extends Enum<CompatibilityLevelDto.Level>
Enum Constant and Description |
---|
BACKWARD |
BACKWARD_TRANSITIVE |
FORWARD |
FORWARD_TRANSITIVE |
FULL |
FULL_TRANSITIVE |
NONE |
Modifier and Type | Method and 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.
|
public static final CompatibilityLevelDto.Level BACKWARD
public static final CompatibilityLevelDto.Level BACKWARD_TRANSITIVE
public static final CompatibilityLevelDto.Level FORWARD
public static final CompatibilityLevelDto.Level FORWARD_TRANSITIVE
public static final CompatibilityLevelDto.Level FULL
public static final CompatibilityLevelDto.Level FULL_TRANSITIVE
public static final CompatibilityLevelDto.Level NONE
public static CompatibilityLevelDto.Level[] values()
for (CompatibilityLevelDto.Level c : CompatibilityLevelDto.Level.values()) System.out.println(c);
public static CompatibilityLevelDto.Level 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 nullpublic static CompatibilityLevelDto.Level create(Optional<CompatibilityLevel> source)
Copyright © 2020 Red Hat. All rights reserved.