hudson.plugins.gerrit.git
Class GitTools
java.lang.Object
hudson.plugins.gerrit.git.GitTools
public class GitTools
- extends java.lang.Object
|
Method Summary |
java.io.File |
getGitHome(java.io.File workspace,
java.lang.String gitHome)
|
org.eclipse.jgit.lib.ObjectId |
getHead(java.io.File workspace,
java.lang.String gitHome)
|
org.eclipse.jgit.lib.ObjectId |
getHead(org.eclipse.jgit.lib.Repository repo)
|
org.eclipse.jgit.lib.Repository |
getRepository(java.io.File git_home)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GitTools
public GitTools()
getGitHome
public java.io.File getGitHome(java.io.File workspace,
java.lang.String gitHome)
getRepository
public org.eclipse.jgit.lib.Repository getRepository(java.io.File git_home)
getHead
public org.eclipse.jgit.lib.ObjectId getHead(org.eclipse.jgit.lib.Repository repo)
getHead
public org.eclipse.jgit.lib.ObjectId getHead(java.io.File workspace,
java.lang.String gitHome)
Copyright © 2010. All Rights Reserved.