public static enum JSONPatch.OperationType extends Enum<JSONPatch.OperationType>
Enum Constant and Description |
---|
add |
copy |
move |
remove |
replace |
test |
Modifier and Type | Method and Description |
---|---|
static JSONPatch.OperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSONPatch.OperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSONPatch.OperationType add
public static final JSONPatch.OperationType remove
public static final JSONPatch.OperationType replace
public static final JSONPatch.OperationType move
public static final JSONPatch.OperationType copy
public static final JSONPatch.OperationType test
public static JSONPatch.OperationType[] values()
for (JSONPatch.OperationType c : JSONPatch.OperationType.values()) System.out.println(c);
public static JSONPatch.OperationType 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 nullCopyright © 2012–2022 Alibaba Group. All rights reserved.