public static enum RebaseTodoLine.Action extends java.lang.Enum<RebaseTodoLine.Action>
Enum Constant and Description |
---|
COMMENT
A comment in the file.
|
EDIT
Use commit, but stop for amending
|
FIXUP
like "squash", but discard this commit's log message
|
PICK
Use commit
|
REWORD
Use commit, but edit the commit message
|
SQUASH
Use commit, but meld into previous commit
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
shortToken |
private java.lang.String |
token |
Modifier and Type | Method and Description |
---|---|
static RebaseTodoLine.Action |
parse(java.lang.String token) |
java.lang.String |
toString() |
java.lang.String |
toToken() |
static RebaseTodoLine.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RebaseTodoLine.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RebaseTodoLine.Action PICK
public static final RebaseTodoLine.Action REWORD
public static final RebaseTodoLine.Action EDIT
public static final RebaseTodoLine.Action SQUASH
public static final RebaseTodoLine.Action FIXUP
public static final RebaseTodoLine.Action COMMENT
private final java.lang.String token
private final java.lang.String shortToken
public static RebaseTodoLine.Action[] values()
for (RebaseTodoLine.Action c : RebaseTodoLine.Action.values()) System.out.println(c);
public static RebaseTodoLine.Action 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 toToken()
public java.lang.String toString()
toString
in class java.lang.Enum<RebaseTodoLine.Action>
public static RebaseTodoLine.Action parse(java.lang.String token)
token
-