hudson.plugins.git
Interface IGitAPI

All Superinterfaces:
GitClient
All Known Implementing Classes:
GitAPI

Deprecated. methods here are deprecated until proven useful by a plugin

public interface IGitAPI
extends GitClient


Field Summary
 
Fields inherited from interface org.jenkinsci.plugins.gitclient.GitClient
verbose
 
Method Summary
 void changelog(String revFrom, String revTo, OutputStream fos)
          Deprecated. Adds the changelog entries for commits in the range revFrom..revTo.
 void checkoutBranch(String branch, String commitish)
          Deprecated.  
 void clone(org.eclipse.jgit.transport.RemoteConfig source)
          Deprecated.  
 void clone(org.eclipse.jgit.transport.RemoteConfig rc, boolean useShallowClone)
          Deprecated.  
 String describe(String commitIsh)
          Deprecated.  
 void fetch()
          Deprecated.  
 void fetch(org.eclipse.jgit.transport.RemoteConfig remoteRepository)
          Deprecated.  
 void fetch(String repository, String refspec)
          Deprecated.  
 void fixSubmoduleUrls(String remote, hudson.model.TaskListener listener)
          Deprecated.  
 String getAllLogEntries(String branch)
          Deprecated.  
 List<Branch> getBranchesContaining(String revspec)
          Deprecated.  
 String getDefaultRemote(String _default_)
          Deprecated.  
 String getRemoteUrl(String name, String GIT_DIR)
          Deprecated.  
 String getSubmoduleUrl(String name)
          Deprecated.  
 List<Tag> getTagsOnCommit(String revName)
          Deprecated.  
 boolean hasGitModules(String treeIsh)
          Deprecated.  
 boolean isBareRepository()
          Deprecated.  
 boolean isBareRepository(String GIT_DIR)
          Deprecated.  
 List<IndexEntry> lsTree(String treeIsh)
          Deprecated.  
 void merge(String revSpec)
          Deprecated.  
 org.eclipse.jgit.lib.ObjectId mergeBase(org.eclipse.jgit.lib.ObjectId sha1, org.eclipse.jgit.lib.ObjectId sha12)
          Deprecated.  
 void push(org.eclipse.jgit.transport.RemoteConfig repository, String revspec)
          Deprecated.  
 void reset()
          Deprecated.  
 void reset(boolean hard)
          Deprecated.  
 List<org.eclipse.jgit.lib.ObjectId> revListBranch(String branchId)
          Deprecated.  
 void setRemoteUrl(String name, String url, String GIT_DIR)
          Deprecated.  
 void setSubmoduleUrl(String name, String url)
          Deprecated.  
 void setupSubmoduleUrls(String remote, hudson.model.TaskListener listener)
          Deprecated.  
 List<String> showRevision(Revision r)
          Deprecated.  
 void submoduleInit()
          Deprecated.  
 void submoduleSync()
          Deprecated.  
 
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
 

Method Detail

hasGitModules

boolean hasGitModules(String treeIsh)
                      throws GitException
Deprecated. 
Throws:
GitException

getRemoteUrl

String getRemoteUrl(String name,
                    String GIT_DIR)
                    throws GitException
Deprecated. 
Throws:
GitException

setRemoteUrl

void setRemoteUrl(String name,
                  String url,
                  String GIT_DIR)
                  throws GitException
Deprecated. 
Throws:
GitException

getDefaultRemote

String getDefaultRemote(String _default_)
                        throws GitException
Deprecated. 
Throws:
GitException

isBareRepository

boolean isBareRepository()
                         throws GitException
Deprecated. 
Throws:
GitException

isBareRepository

boolean isBareRepository(String GIT_DIR)
                         throws GitException
Deprecated. 
Throws:
GitException

submoduleInit

void submoduleInit()
                   throws GitException
Deprecated. 
Throws:
GitException

submoduleSync

void submoduleSync()
                   throws GitException
Deprecated. 
Throws:
GitException

getSubmoduleUrl

String getSubmoduleUrl(String name)
                       throws GitException
Deprecated. 
Throws:
GitException

setSubmoduleUrl

void setSubmoduleUrl(String name,
                     String url)
                     throws GitException
Deprecated. 
Throws:
GitException

fixSubmoduleUrls

void fixSubmoduleUrls(String remote,
                      hudson.model.TaskListener listener)
                      throws GitException
Deprecated. 
Throws:
GitException

setupSubmoduleUrls

void setupSubmoduleUrls(String remote,
                        hudson.model.TaskListener listener)
                        throws GitException
Deprecated. 
Throws:
GitException

fetch

void fetch(String repository,
           String refspec)
           throws GitException
Deprecated. 
Throws:
GitException

fetch

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

fetch

void fetch()
           throws GitException
Deprecated. 
Throws:
GitException

reset

void reset(boolean hard)
           throws GitException
Deprecated. 
Throws:
GitException

reset

void reset()
           throws GitException
Deprecated. 
Throws:
GitException

push

void push(org.eclipse.jgit.transport.RemoteConfig repository,
          String revspec)
          throws GitException
Deprecated. 
Throws:
GitException

merge

void merge(String revSpec)
           throws GitException
Deprecated. 
Throws:
GitException

clone

void clone(org.eclipse.jgit.transport.RemoteConfig source)
           throws GitException
Deprecated. 
Throws:
GitException

clone

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

getBranchesContaining

List<Branch> getBranchesContaining(String revspec)
                                   throws GitException
Deprecated. 
Throws:
GitException

lsTree

List<IndexEntry> lsTree(String treeIsh)
                        throws GitException
Deprecated. 
Throws:
GitException

revListBranch

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

describe

String describe(String commitIsh)
                throws GitException
Deprecated. 
Throws:
GitException

getTagsOnCommit

List<Tag> getTagsOnCommit(String revName)
                          throws GitException,
                                 IOException
Deprecated. 
Throws:
GitException
IOException

changelog

void changelog(String revFrom,
               String revTo,
               OutputStream fos)
               throws GitException
Deprecated. 
Description copied from interface: GitClient
Adds the changelog entries for commits in the range revFrom..revTo.

Specified by:
changelog in interface GitClient
Throws:
GitException

checkoutBranch

void checkoutBranch(String branch,
                    String commitish)
                    throws GitException
Deprecated. 
Throws:
GitException

mergeBase

org.eclipse.jgit.lib.ObjectId mergeBase(org.eclipse.jgit.lib.ObjectId sha1,
                                        org.eclipse.jgit.lib.ObjectId sha12)
Deprecated. 

getAllLogEntries

String getAllLogEntries(String branch)
Deprecated. 

showRevision

List<String> showRevision(Revision r)
                          throws GitException
Deprecated. 
Throws:
GitException


Copyright © 2004-2013. All Rights Reserved.