public static enum RebaseCommand.Action extends Enum<RebaseCommand.Action>
Enum Constant and Description |
---|
EDIT
Use commit, but stop for amending
|
PICK
Use commit
|
REWORD
Use commit, but edit the commit message
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
String |
toToken() |
static RebaseCommand.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RebaseCommand.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RebaseCommand.Action PICK
public static final RebaseCommand.Action REWORD
public static final RebaseCommand.Action EDIT
public static RebaseCommand.Action[] values()
for (RebaseCommand.Action c : RebaseCommand.Action.values()) System.out.println(c);
public static RebaseCommand.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<RebaseCommand.Action>
Copyright © 2013. All Rights Reserved.