|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.git.util.GitUtils
public class GitUtils
| Constructor Summary | |
|---|---|
GitUtils(hudson.model.TaskListener listener,
IGitAPI git)
|
|
| Method Summary | |
|---|---|
java.util.Collection<Revision> |
filterTipBranches(java.util.Collection<Revision> revisions)
Return a list of 'tip' branches (I.E. branches that aren't included entirely within another branch). |
static java.lang.String[] |
fixupNames(java.lang.String[] names,
java.lang.String[] urls)
|
java.util.Collection<Revision> |
getAllBranchRevisions()
Return a list of "Revisions" - where a revision knows about all the branch names that refer to a SHA1. |
static hudson.EnvVars |
getPollEnvironment(hudson.model.AbstractProject p,
hudson.FilePath ws,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
An attempt to generate at least semi-useful EnvVars for polling calls, based on previous build. |
Revision |
getRevisionContainingBranch(java.lang.String branchName)
Return the revision containing the branch name. |
Revision |
getRevisionForSHA1(org.spearce.jgit.lib.ObjectId sha1)
|
java.util.List<IndexEntry> |
getSubmodules(java.lang.String treeIsh)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GitUtils(hudson.model.TaskListener listener,
IGitAPI git)
| Method Detail |
|---|
public java.util.List<IndexEntry> getSubmodules(java.lang.String treeIsh)
public java.util.Collection<Revision> getAllBranchRevisions()
throws GitException,
java.io.IOException
java.io.IOException
GitException
public Revision getRevisionContainingBranch(java.lang.String branchName)
throws GitException,
java.io.IOException
branchName -
java.io.IOException
GitException
public Revision getRevisionForSHA1(org.spearce.jgit.lib.ObjectId sha1)
throws GitException,
java.io.IOException
GitException
java.io.IOExceptionpublic java.util.Collection<Revision> filterTipBranches(java.util.Collection<Revision> revisions)
git -
public static hudson.EnvVars getPollEnvironment(hudson.model.AbstractProject p,
hudson.FilePath ws,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public static java.lang.String[] fixupNames(java.lang.String[] names,
java.lang.String[] urls)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||