public enum PatchOperation extends Enum<PatchOperation>
Patch
operations.Enum Constant and Description |
---|
ADD
Adds a field.
|
COPY
Copies a field.
|
INCREMENT
Increments a numeric field.
|
MOVE
Moves a field.
|
REMOVE
Removes a field.
|
REPLACE
Replaces a field.
|
TRANSFORM
Transforms a field.
|
Modifier and Type | Method and Description |
---|---|
static PatchOperation |
valueOf(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 INCREMENT
public static final PatchOperation MOVE
public static final PatchOperation COPY
public static final PatchOperation TRANSFORM
public static PatchOperation[] values()
for (PatchOperation c : PatchOperation.values()) System.out.println(c);
public static PatchOperation 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 © 2010-2018, ForgeRock All Rights Reserved.