Package io.wcm.caravan.hal.comparison
Enum HalDifference.ChangeType
- java.lang.Object
-
- java.lang.Enum<HalDifference.ChangeType>
-
- io.wcm.caravan.hal.comparison.HalDifference.ChangeType
-
- All Implemented Interfaces:
Serializable
,Comparable<HalDifference.ChangeType>
- Enclosing interface:
- HalDifference
public static enum HalDifference.ChangeType extends Enum<HalDifference.ChangeType>
defines the different types of modifications that can be detected
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDITIONAL
MISSING
MODIFIED
REORDERED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HalDifference.ChangeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static HalDifference.ChangeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADDITIONAL
public static final HalDifference.ChangeType ADDITIONAL
-
MISSING
public static final HalDifference.ChangeType MISSING
-
MODIFIED
public static final HalDifference.ChangeType MODIFIED
-
REORDERED
public static final HalDifference.ChangeType REORDERED
-
-
Method Detail
-
values
public static HalDifference.ChangeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HalDifference.ChangeType c : HalDifference.ChangeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HalDifference.ChangeType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-