public enum DifferenceSeverity extends Enum<DifferenceSeverity>
The difference doesn't have a single severity, rather it can have different severity for each
CompatibilityType
.
Enum Constant and Description |
---|
BREAKING
The difference definitely breaks the compatibility of given type.
|
EQUIVALENT
The difference doesn't produce any visible change from the user's perspective.
|
NON_BREAKING
The difference doesn't cause any breakage in given compatibility type
|
POTENTIALLY_BREAKING
Under certain circumstances the difference is breaking the compatibility of given type.
|
Modifier and Type | Method and Description |
---|---|
static DifferenceSeverity |
fromCamelCase(String camelCaseValue)
Returns the difference severity represented by the provided string in camel case.
|
static DifferenceSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DifferenceSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DifferenceSeverity EQUIVALENT
public static final DifferenceSeverity NON_BREAKING
public static final DifferenceSeverity POTENTIALLY_BREAKING
public static final DifferenceSeverity BREAKING
public static DifferenceSeverity[] values()
for (DifferenceSeverity c : DifferenceSeverity.values()) System.out.println(c);
public static DifferenceSeverity 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 DifferenceSeverity fromCamelCase(String camelCaseValue)
NON_BREAKING
, etc.camelCaseValue
- the value in camel caseCopyright © 2014-2020 Lukas Krejci. All Rights Reserved.