public enum ESOperation extends Enum<ESOperation>
Modifier and Type | Method and Description |
---|---|
static ESOperation |
findOperation(String operation) |
String |
operation() |
static ESOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ESOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ESOperation UNKNOWN
public static final ESOperation INSERT
public static final ESOperation UPDATE
public static final ESOperation DELETE
public static ESOperation[] values()
for (ESOperation c : ESOperation.values()) System.out.println(c);
public static ESOperation 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 final String operation()
public static final ESOperation findOperation(String operation)
Copyright © 2016. All rights reserved.