|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jenkinsci.plugins.gitclient.CliGitAPIImpl
hudson.plugins.git.GitAPI
public class GitAPI
Backward compatible class to match the one some plugins used to get from git-plugin
| 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 |
|---|
@Deprecated
public GitAPI(String gitExe,
hudson.FilePath repository,
hudson.model.TaskListener listener,
hudson.EnvVars environment)
@Deprecated
public GitAPI(String gitExe,
hudson.FilePath repository,
hudson.model.TaskListener listener,
hudson.EnvVars environment,
String reference)
public GitAPI(String gitExe,
File repository,
hudson.model.TaskListener listener,
hudson.EnvVars environment)
| Method Detail |
|---|
@Deprecated
public void checkoutBranch(String branch,
String ref)
throws GitException
checkoutBranch in interface IGitAPIGitException
@Deprecated
public void merge(String revSpec)
throws GitException
merge in interface IGitAPIGitException
@Deprecated
public boolean hasGitModules(String treeIsh)
throws GitException
hasGitModules in interface IGitAPIGitException
@Deprecated
public void setupSubmoduleUrls(String remote,
hudson.model.TaskListener listener)
throws GitException
setupSubmoduleUrls in interface IGitAPIGitException
@Deprecated
public void fetch(String repository,
String refspec)
throws GitException
fetch in interface IGitAPIGitException@Deprecated public void fetch(org.eclipse.jgit.transport.RemoteConfig remoteRepository)
fetch in interface IGitAPI
@Deprecated
public void fetch()
throws GitException
fetch in interface IGitAPIfetch in class CliGitAPIImplGitException
public void reset()
throws GitException
reset in interface IGitAPIGitException
@Deprecated
public void push(org.eclipse.jgit.transport.RemoteConfig repository,
String refspec)
throws GitException
push in interface IGitAPIGitException
@Deprecated
public void clone(org.eclipse.jgit.transport.RemoteConfig source)
throws GitException
clone in interface IGitAPIGitException
@Deprecated
public void clone(org.eclipse.jgit.transport.RemoteConfig rc,
boolean useShallowClone)
throws GitException
clone in interface IGitAPIGitException
@Deprecated
public List<Branch> getBranchesContaining(String revspec)
throws GitException
getBranchesContaining in interface IGitAPIGitException
@Deprecated
public List<org.eclipse.jgit.lib.ObjectId> revListBranch(String branchId)
throws GitException
revListBranch in interface IGitAPIGitException
@Deprecated
public List<String> showRevision(Revision r)
throws GitException
showRevision in interface IGitAPIGitException
@Deprecated
public List<Tag> getTagsOnCommit(String revName)
throws GitException,
IOException
getTagsOnCommit in interface IGitAPIGitException
IOException
@Deprecated
public org.eclipse.jgit.lib.ObjectId mergeBase(org.eclipse.jgit.lib.ObjectId id1,
org.eclipse.jgit.lib.ObjectId id2)
mergeBase in interface IGitAPI@Deprecated public String getAllLogEntries(String branch)
getAllLogEntries in interface IGitAPI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||