public static enum JsonPatchOperation.JsonPatchOp extends java.lang.Enum<JsonPatchOperation.JsonPatchOp>
Enum Constant and Description |
---|
ADD |
COPY |
MOVE |
REMOVE |
REPLACE |
TEST |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
op |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static JsonPatchOperation.JsonPatchOp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonPatchOperation.JsonPatchOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonPatchOperation.JsonPatchOp ADD
public static final JsonPatchOperation.JsonPatchOp REMOVE
public static final JsonPatchOperation.JsonPatchOp REPLACE
public static final JsonPatchOperation.JsonPatchOp COPY
public static final JsonPatchOperation.JsonPatchOp MOVE
public static final JsonPatchOperation.JsonPatchOp TEST
public static JsonPatchOperation.JsonPatchOp[] values()
for (JsonPatchOperation.JsonPatchOp c : JsonPatchOperation.JsonPatchOp.values()) System.out.println(c);
public static JsonPatchOperation.JsonPatchOp 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 java.lang.String getValue()