public enum PatchApplyFlag extends java.lang.Enum<PatchApplyFlag>
com.flipkart.zjsonpatch.CompatibilityFlags
for configuration purposes.
Since com.flipkart.zjsonpatch.CompatibilityFlags
doesn't have a XStreamAlias, it renders
poorly for configuration; this enum is simply here to make things look nice.
In the adapter configuration file this class is aliased as json-patch-apply-flag which is the preferred alternative to the fully qualified classname when building your configuration.
Enum Constant and Description |
---|
MISSING_VALUES_AS_NULLS |
REMOVE_NONE_EXISTING_ARRAY_ELEMENT |
Modifier and Type | Method and Description |
---|---|
com.flipkart.zjsonpatch.CompatibilityFlags |
actualValue()
Get the real value.
|
static PatchApplyFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PatchApplyFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchApplyFlag MISSING_VALUES_AS_NULLS
public static final PatchApplyFlag REMOVE_NONE_EXISTING_ARRAY_ELEMENT
public static PatchApplyFlag[] values()
for (PatchApplyFlag c : PatchApplyFlag.values()) System.out.println(c);
public static PatchApplyFlag 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 nullpublic com.flipkart.zjsonpatch.CompatibilityFlags actualValue()
com.flipkart.zjsonpatch.CompatibilityFlags
value.