public class JGitBranchCommand extends AbstractBranchCommand implements GitCommand
| Constructor and Description | 
|---|
JGitBranchCommand()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected ScmResult | 
executeBranchCommand(ScmProviderRepository repo,
                                        ScmFileSet fileSet,
                                        String branch,
                                        String message) | 
static Set<String> | 
getShortLocalBranchNames(org.eclipse.jgit.api.Git git)
gets a set of names of the available branches in the given repo 
 | 
executeBranchCommand, executeCommandexecute, getLogger, setLoggerpublic JGitBranchCommand()
protected ScmResult executeBranchCommand(ScmProviderRepository repo, ScmFileSet fileSet, String branch, String message) throws ScmException
executeBranchCommand in class AbstractBranchCommandScmExceptionpublic static Set<String> getShortLocalBranchNames(org.eclipse.jgit.api.Git git) throws org.eclipse.jgit.api.errors.GitAPIException
git - the repo to list the branches fororg.eclipse.jgit.api.errors.GitAPIExceptionCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.