@PublicApi public enum DiffCategory extends java.lang.Enum<DiffCategory>
Enum Constant and Description |
---|
ADDITION
The new API has added something not present in the old API
|
DEPRECATION_ADDED
The new API has newly deprecated something
|
DEPRECATION_REMOVED
The new API has removed something previously deprecated in the old API
|
DIFFERENT
The new API has changed something compared to the old API
|
INVALID
The new API has an invalid structure
|
MISSING
The new API is missing something compared to the old API
|
STRICTER
The new API has become stricter for existing clients than the old API
|
Modifier and Type | Method and Description |
---|---|
static DiffCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DiffCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiffCategory MISSING
public static final DiffCategory STRICTER
public static final DiffCategory INVALID
public static final DiffCategory ADDITION
public static final DiffCategory DIFFERENT
public static final DiffCategory DEPRECATION_ADDED
public static final DiffCategory DEPRECATION_REMOVED
public static DiffCategory[] values()
for (DiffCategory c : DiffCategory.values()) System.out.println(c);
public static DiffCategory 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