Package com.adaptris.core.json.jsonpatch
Enum Class PatchApplyFlag
- All Implemented Interfaces:
Serializable
,Comparable<PatchApplyFlag>
,Constable
Mirrors
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.flipkart.zjsonpatch.CompatibilityFlags
Get the real value.static PatchApplyFlag
Returns the enum constant of this class with the specified name.static PatchApplyFlag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MISSING_VALUES_AS_NULLS
-
REMOVE_NONE_EXISTING_ARRAY_ELEMENT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
actualValue
public com.flipkart.zjsonpatch.CompatibilityFlags actualValue()Get the real value.- Returns:
- the real
com.flipkart.zjsonpatch.CompatibilityFlags
value.
-