hudson.plugins.gerrit.git
Class GitTools

java.lang.Object
  extended by hudson.plugins.gerrit.git.GitTools

public class GitTools
extends java.lang.Object


Constructor Summary
GitTools()
           
 
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
 

Constructor Detail

GitTools

public GitTools()
Method Detail

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.