public static enum SpecExecutor.Verb extends Enum<SpecExecutor.Verb>
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
String |
getVerb() |
static SpecExecutor.Verb |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpecExecutor.Verb[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpecExecutor.Verb ADD
public static final SpecExecutor.Verb UPDATE
public static final SpecExecutor.Verb DELETE
public static final SpecExecutor.Verb UNKNOWN
public static final SpecExecutor.Verb CANCEL
public static SpecExecutor.Verb[] values()
for (SpecExecutor.Verb c : SpecExecutor.Verb.values()) System.out.println(c);
public static SpecExecutor.Verb 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 int getId()
public String getVerb()