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