public enum CommitAction extends java.lang.Enum<CommitAction>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey() |
static CommitAction |
parse(java.lang.String key) |
static CommitAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommitAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommitAction ADD
public static final CommitAction EDIT
public static final CommitAction DELETE
public static final CommitAction MERGE
public static final CommitAction UNKNOWN
public static CommitAction[] values()
for (CommitAction c : CommitAction.values()) System.out.println(c);
public static CommitAction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getKey()
public static CommitAction parse(java.lang.String key)