|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jgit.api.GitCommand<java.util.List<Ref>>
org.eclipse.jgit.api.ListBranchCommand
public class ListBranchCommand
Used to obtain a list of branches.
| Nested Class Summary | |
|---|---|
static class |
ListBranchCommand.ListMode
The modes available for listing branches (corresponding to the -r and -a options) |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jgit.api.GitCommand |
|---|
repo |
| Constructor Summary | |
|---|---|
protected |
ListBranchCommand(Repository repo)
|
| Method Summary | |
|---|---|
java.util.List<Ref> |
call()
|
ListBranchCommand |
setListMode(ListBranchCommand.ListMode listMode)
|
| Methods inherited from class org.eclipse.jgit.api.GitCommand |
|---|
checkCallable, getRepository, setCallable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ListBranchCommand(Repository repo)
repo - | Method Detail |
|---|
public java.util.List<Ref> call()
throws JGitInternalException
JGitInternalException - upon internal failurepublic ListBranchCommand setListMode(ListBranchCommand.ListMode listMode)
listMode - optional: corresponds to the -r/-a options; by default, only
local branches will be listed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||