public static enum Patch.Operation extends Enum<Patch.Operation>
Enum Constant and Description |
---|
ADD
The ADD.
|
REMOVE
The REMOVE.
|
REPLACE
The REPLACE.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets name.
|
static Patch.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Patch.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Patch.Operation ADD
public static final Patch.Operation REMOVE
public static final Patch.Operation REPLACE
public static Patch.Operation[] values()
for (Patch.Operation c : Patch.Operation.values()) System.out.println(c);
public static Patch.Operation 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 String getName()
Copyright © 2015–2021 Yahoo! Inc.. All rights reserved.