public enum PatchCommandType extends Enum<PatchCommandType>
Enum Constant and Description |
---|
ADD
Add an item to an array
|
COPY
Copy a property value to another property
|
INC
Increment a property by a specified value
|
INSERT
Insert an item to an array at a specified position
|
MODIFY
Modify a property value by providing a nested set of patch operation
|
REMOVE
Remove an item from an array at a specified position
|
RENAME
Rename a property
|
SET
Set a property
|
UNSET
Unset (remove) a property
|
Modifier and Type | Method and Description |
---|---|
static PatchCommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatchCommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchCommandType SET
public static final PatchCommandType UNSET
public static final PatchCommandType ADD
public static final PatchCommandType INSERT
public static final PatchCommandType REMOVE
public static final PatchCommandType MODIFY
public static final PatchCommandType INC
public static final PatchCommandType COPY
public static final PatchCommandType RENAME
public static PatchCommandType[] values()
for (PatchCommandType c : PatchCommandType.values()) System.out.println(c);
public static PatchCommandType 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 © 2016. All Rights Reserved.