public static enum ListBranchCommand.ListMode extends Enum<ListBranchCommand.ListMode>
Enum Constant and Description |
---|
ALL
Corresponds to the -a option (all branches)
|
REMOTE
Corresponds to the -r option (remote branches only)
|
Modifier and Type | Method and Description |
---|---|
static ListBranchCommand.ListMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListBranchCommand.ListMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListBranchCommand.ListMode ALL
public static final ListBranchCommand.ListMode REMOTE
public static ListBranchCommand.ListMode[] values()
for (ListBranchCommand.ListMode c : ListBranchCommand.ListMode.values()) System.out.println(c);
public static ListBranchCommand.ListMode 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 nullCopyright © 2019 Eclipse JGit Project. All rights reserved.