public enum CompatibilityLevel extends Enum<CompatibilityLevel>
Enum Constant and Description |
---|
BACKWARD |
BACKWARD_TRANSITIVE |
FORWARD |
FORWARD_TRANSITIVE |
FULL |
FULL_TRANSITIVE |
Modifier and Type | Method and Description |
---|---|
static CompatibilityLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompatibilityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompatibilityLevel BACKWARD
public static final CompatibilityLevel BACKWARD_TRANSITIVE
public static final CompatibilityLevel FORWARD
public static final CompatibilityLevel FORWARD_TRANSITIVE
public static final CompatibilityLevel FULL
public static final CompatibilityLevel FULL_TRANSITIVE
public static CompatibilityLevel[] values()
for (CompatibilityLevel c : CompatibilityLevel.values()) System.out.println(c);
public static CompatibilityLevel 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 nullCopyright © 2019 Red Hat. All rights reserved.