public static enum PatchOperation.OperationType extends Enum<PatchOperation.OperationType>
Modifier and Type | Method and Description |
---|---|
String |
value() |
static PatchOperation.OperationType |
value(String v) |
static PatchOperation.OperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatchOperation.OperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchOperation.OperationType ADD
public static final PatchOperation.OperationType REMOVE
public static final PatchOperation.OperationType REPLACE
public static final PatchOperation.OperationType UNKNOWN
public static PatchOperation.OperationType[] values()
for (PatchOperation.OperationType c : PatchOperation.OperationType.values()) System.out.println(c);
public static PatchOperation.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 nullpublic static PatchOperation.OperationType value(String v)
public String value()
Copyright © 2017. All rights reserved.