public static enum BranchConfig.BranchRebaseMode extends Enum<BranchConfig.BranchRebaseMode> implements Config.ConfigEnum
| Enum Constant and Description |
|---|
INTERACTIVE
Value for rebasing interactively
|
NONE
Value for not rebasing at all but merging
|
PRESERVE
Value for rebasing preserving local merge commits
|
REBASE
Value for rebasing
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matchConfigValue(String s)
Checks if the given string matches with enum value.
|
String |
toConfigValue()
Converts enumeration value into a string to be save in config.
|
static BranchConfig.BranchRebaseMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BranchConfig.BranchRebaseMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BranchConfig.BranchRebaseMode REBASE
public static final BranchConfig.BranchRebaseMode PRESERVE
public static final BranchConfig.BranchRebaseMode INTERACTIVE
public static final BranchConfig.BranchRebaseMode NONE
public static BranchConfig.BranchRebaseMode[] values()
for (BranchConfig.BranchRebaseMode c : BranchConfig.BranchRebaseMode.values()) System.out.println(c);
public static BranchConfig.BranchRebaseMode 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 toConfigValue()
Config.ConfigEnumtoConfigValue in interface Config.ConfigEnumpublic boolean matchConfigValue(String s)
Config.ConfigEnummatchConfigValue in interface Config.ConfigEnums - the string to matchCopyright © 2018 Eclipse JGit Project. All rights reserved.