public static enum ListBranchCommand.ListMode extends java.lang.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(java.lang.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(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 nullCopyright © 2012. All Rights Reserved.