hudson.plugins.git
Class GitAPI

java.lang.Object
  extended by org.jenkinsci.plugins.gitclient.CliGitAPIImpl
      extended by hudson.plugins.git.GitAPI
All Implemented Interfaces:
IGitAPI, GitClient

Deprecated.

public class GitAPI
extends CliGitAPIImpl
implements IGitAPI

Backward compatible class to match the one some plugins used to get from git-plugin

Author:
Nicolas De Loof

Field Summary
 
Fields inherited from interface org.jenkinsci.plugins.gitclient.GitClient
verbose
 
Constructor Summary
GitAPI(String gitExe, hudson.FilePath repository, hudson.model.TaskListener listener, hudson.EnvVars environment)
          Deprecated. 
GitAPI(String gitExe, hudson.FilePath repository, hudson.model.TaskListener listener, hudson.EnvVars environment, String reference)
          Deprecated. 
GitAPI(String gitExe, File repository, hudson.model.TaskListener listener, hudson.EnvVars environment)
          Deprecated.  
 
Method Summary
 void checkoutBranch(String branch, String ref)
          Deprecated. 
 void clone(org.eclipse.jgit.transport.RemoteConfig source)
          Deprecated. 
 void clone(org.eclipse.jgit.transport.RemoteConfig rc, boolean useShallowClone)
          Deprecated. 
 void fetch()
          Deprecated. 
 void fetch(org.eclipse.jgit.transport.RemoteConfig remoteRepository)
          Deprecated. 
 void fetch(String repository, String refspec)
          Deprecated. 
 String getAllLogEntries(String branch)
          Deprecated. 
 List<Branch> getBranchesContaining(String revspec)
          Deprecated. 
 List<Tag> getTagsOnCommit(String revName)
          Deprecated. 
 boolean hasGitModules(String treeIsh)
          Deprecated. 
 void merge(String revSpec)
          Deprecated. 
 org.eclipse.jgit.lib.ObjectId mergeBase(org.eclipse.jgit.lib.ObjectId id1, org.eclipse.jgit.lib.ObjectId id2)
          Deprecated. 
 void push(org.eclipse.jgit.transport.RemoteConfig repository, String refspec)
          Deprecated. 
 void reset()
          Deprecated.  
 List<org.eclipse.jgit.lib.ObjectId> revListBranch(String branchId)
          Deprecated. 
 void setupSubmoduleUrls(String remote, hudson.model.TaskListener listener)
          Deprecated. 
 List<String> showRevision(Revision r)
          Deprecated. 
 
Methods inherited from class org.jenkinsci.plugins.gitclient.CliGitAPIImpl
add, addNote, addSubmodule, appendNote, branch, changelog, checkout, checkout, clean, clone, commit, deleteBranch, deleteTag, describe, fetch, fixSubmoduleUrls, getBranches, getDefaultRemote, getDefaultRemote, getHeadRev, getRemoteBranches, getRemoteUrl, getRemoteUrl, getRepository, getSubmodules, getSubmoduleUrl, getTagMessage, getTagNames, hasGitModules, hasGitRepo, hasGitRepo, init, isBareRepository, isBareRepository, isCommitInRepo, launchCommand, launchCommand, lsTree, merge, prune, push, reset, revList, revListAll, revParse, setRemoteUrl, setRemoteUrl, setSubmoduleUrl, setupSubmoduleUrls, showRevision, showRevision, subGit, submoduleClean, submoduleInit, submoduleReset, submoduleSync, submoduleUpdate, tag, tagExists, validateRevision
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.plugins.git.IGitAPI
changelog, describe, fixSubmoduleUrls, getDefaultRemote, getRemoteUrl, getSubmoduleUrl, isBareRepository, isBareRepository, lsTree, reset, setRemoteUrl, setSubmoduleUrl, submoduleInit, submoduleSync
 
Methods inherited from interface org.jenkinsci.plugins.gitclient.GitClient
add, addNote, addSubmodule, appendNote, branch, checkout, checkout, clean, clone, commit, deleteBranch, deleteTag, fetch, getBranches, getHeadRev, getRemoteBranches, getRemoteUrl, getRepository, getSubmodules, getTagMessage, getTagNames, hasGitModules, hasGitRepo, init, isCommitInRepo, merge, prune, push, revList, revListAll, revParse, setRemoteUrl, setupSubmoduleUrls, showRevision, showRevision, subGit, submoduleClean, submoduleUpdate, tag, tagExists
 

Constructor Detail

GitAPI

@Deprecated
public GitAPI(String gitExe,
                         hudson.FilePath repository,
                         hudson.model.TaskListener listener,
                         hudson.EnvVars environment)
Deprecated. 


GitAPI

@Deprecated
public GitAPI(String gitExe,
                         hudson.FilePath repository,
                         hudson.model.TaskListener listener,
                         hudson.EnvVars environment,
                         String reference)
Deprecated. 


GitAPI

public GitAPI(String gitExe,
              File repository,
              hudson.model.TaskListener listener,
              hudson.EnvVars environment)
Deprecated. 
Method Detail

checkoutBranch

@Deprecated
public void checkoutBranch(String branch,
                                      String ref)
                    throws GitException
Deprecated. 

Specified by:
checkoutBranch in interface IGitAPI
Throws:
GitException

merge

@Deprecated
public void merge(String revSpec)
           throws GitException
Deprecated. 

Specified by:
merge in interface IGitAPI
Throws:
GitException

hasGitModules

@Deprecated
public boolean hasGitModules(String treeIsh)
                      throws GitException
Deprecated. 

Specified by:
hasGitModules in interface IGitAPI
Throws:
GitException

setupSubmoduleUrls

@Deprecated
public void setupSubmoduleUrls(String remote,
                                          hudson.model.TaskListener listener)
                        throws GitException
Deprecated. 

Specified by:
setupSubmoduleUrls in interface IGitAPI
Throws:
GitException

fetch

@Deprecated
public void fetch(String repository,
                             String refspec)
           throws GitException
Deprecated. 

Specified by:
fetch in interface IGitAPI
Throws:
GitException

fetch

@Deprecated
public void fetch(org.eclipse.jgit.transport.RemoteConfig remoteRepository)
Deprecated. 

Specified by:
fetch in interface IGitAPI

fetch

@Deprecated
public void fetch()
           throws GitException
Deprecated. 

Specified by:
fetch in interface IGitAPI
Overrides:
fetch in class CliGitAPIImpl
Throws:
GitException

reset

public void reset()
           throws GitException
Deprecated. 
Specified by:
reset in interface IGitAPI
Throws:
GitException

push

@Deprecated
public void push(org.eclipse.jgit.transport.RemoteConfig repository,
                            String refspec)
          throws GitException
Deprecated. 

Specified by:
push in interface IGitAPI
Throws:
GitException

clone

@Deprecated
public void clone(org.eclipse.jgit.transport.RemoteConfig source)
           throws GitException
Deprecated. 

Specified by:
clone in interface IGitAPI
Throws:
GitException

clone

@Deprecated
public void clone(org.eclipse.jgit.transport.RemoteConfig rc,
                             boolean useShallowClone)
           throws GitException
Deprecated. 

Specified by:
clone in interface IGitAPI
Throws:
GitException

getBranchesContaining

@Deprecated
public List<Branch> getBranchesContaining(String revspec)
                                   throws GitException
Deprecated. 

Specified by:
getBranchesContaining in interface IGitAPI
Throws:
GitException

revListBranch

@Deprecated
public List<org.eclipse.jgit.lib.ObjectId> revListBranch(String branchId)
                                                  throws GitException
Deprecated. 

Specified by:
revListBranch in interface IGitAPI
Throws:
GitException

showRevision

@Deprecated
public List<String> showRevision(Revision r)
                          throws GitException
Deprecated. 

Specified by:
showRevision in interface IGitAPI
Throws:
GitException

getTagsOnCommit

@Deprecated
public List<Tag> getTagsOnCommit(String revName)
                          throws GitException,
                                 IOException
Deprecated. 

Specified by:
getTagsOnCommit in interface IGitAPI
Throws:
GitException
IOException

mergeBase

@Deprecated
public org.eclipse.jgit.lib.ObjectId mergeBase(org.eclipse.jgit.lib.ObjectId id1,
                                                          org.eclipse.jgit.lib.ObjectId id2)
Deprecated. 

Specified by:
mergeBase in interface IGitAPI

getAllLogEntries

@Deprecated
public String getAllLogEntries(String branch)
Deprecated. 

Specified by:
getAllLogEntries in interface IGitAPI


Copyright © 2004-2013. All Rights Reserved.