public enum NonExtendableApiCheckMode extends java.lang.Enum<NonExtendableApiCheckMode>
By default, the WARN mode is used so extension-only incompatibilities are reported without failing compatibility checks.
| Enum Constant and Description |
|---|
ERROR
Error-level incompatibilities will be raised regardless of being marked with a non-extendable API annotation.
|
SKIP
No extension-only incompatibilities will be reported for elements annotated with a non-extendable API annotation.
|
WARN
Extension-only incompatibilities will be lowered to warnings for elements annotated with a non-extendable API annotation.
|
| Modifier and Type | Field and Description |
|---|---|
static NonExtendableApiCheckMode |
DEFAULT_MODE |
static java.util.List<java.lang.String> |
DEFAULT_NON_EXTENDABLE_API_ANNOTATIONS |
| Modifier and Type | Method and Description |
|---|---|
static NonExtendableApiCheckMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NonExtendableApiCheckMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NonExtendableApiCheckMode SKIP
public static final NonExtendableApiCheckMode WARN
public static final NonExtendableApiCheckMode ERROR
public static final NonExtendableApiCheckMode DEFAULT_MODE
public static final java.util.List<java.lang.String> DEFAULT_NON_EXTENDABLE_API_ANNOTATIONS
public static NonExtendableApiCheckMode[] values()
for (NonExtendableApiCheckMode c : NonExtendableApiCheckMode.values()) System.out.println(c);
public static NonExtendableApiCheckMode 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 namejava.lang.NullPointerException - if the argument is null