public enum JsonPatchOperation extends Enum<JsonPatchOperation>
Enum Constant and Description |
---|
add |
copy |
move |
remove |
replace |
test |
Modifier and Type | Method and Description |
---|---|
String |
getOperationtype() |
static JsonPatchOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonPatchOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonPatchOperation add
public static final JsonPatchOperation remove
public static final JsonPatchOperation replace
public static final JsonPatchOperation test
public static final JsonPatchOperation move
public static final JsonPatchOperation copy
public static JsonPatchOperation[] values()
for (JsonPatchOperation c : JsonPatchOperation.values()) System.out.println(c);
public static JsonPatchOperation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getOperationtype()
Copyright © 2021. All rights reserved.