public static enum RebaseTodoLine.Action extends 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 | Method and Description |
---|---|
static RebaseTodoLine.Action |
parse(String token) |
String |
toString() |
String |
toToken() |
static RebaseTodoLine.Action |
valueOf(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
public static RebaseTodoLine.Action[] values()
for (RebaseTodoLine.Action c : RebaseTodoLine.Action.values()) System.out.println(c);
public static RebaseTodoLine.Action 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 toToken()
public String toString()
toString
in class Enum<RebaseTodoLine.Action>
public static RebaseTodoLine.Action parse(String token)
token
- Copyright © 2020 Eclipse JGit Project. All rights reserved.