Package io.fabric8.zjsonpatch
Enum CompatibilityFlags
- java.lang.Object
-
- java.lang.Enum<CompatibilityFlags>
-
- io.fabric8.zjsonpatch.CompatibilityFlags
-
- All Implemented Interfaces:
Serializable,Comparable<CompatibilityFlags>
public enum CompatibilityFlags extends Enum<CompatibilityFlags>
This class is ported from FlipKart zjsonpatch repository
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOW_MISSING_TARGET_OBJECT_ON_REPLACEFORBID_REMOVE_MISSING_OBJECTMISSING_VALUES_AS_NULLSREMOVE_NONE_EXISTING_ARRAY_ELEMENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EnumSet<CompatibilityFlags>defaults()static CompatibilityFlagsvalueOf(String name)Returns the enum constant of this type with the specified name.static CompatibilityFlags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MISSING_VALUES_AS_NULLS
public static final CompatibilityFlags MISSING_VALUES_AS_NULLS
-
REMOVE_NONE_EXISTING_ARRAY_ELEMENT
public static final CompatibilityFlags REMOVE_NONE_EXISTING_ARRAY_ELEMENT
-
ALLOW_MISSING_TARGET_OBJECT_ON_REPLACE
public static final CompatibilityFlags ALLOW_MISSING_TARGET_OBJECT_ON_REPLACE
-
FORBID_REMOVE_MISSING_OBJECT
public static final CompatibilityFlags FORBID_REMOVE_MISSING_OBJECT
-
-
Method Detail
-
values
public static CompatibilityFlags[] 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 (CompatibilityFlags c : CompatibilityFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompatibilityFlags 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
-
defaults
public static EnumSet<CompatibilityFlags> defaults()
-
-