hudson.plugins.git
Interface IGitAPI
- All Known Implementing Classes:
- GitAPI
public interface IGitAPI
|
Method Summary |
void |
add(java.lang.String filePattern)
|
void |
branch(java.lang.String name)
|
void |
changelog(java.lang.String revFrom,
java.lang.String revTo,
java.io.OutputStream fos)
|
void |
checkout(java.lang.String revToBuild)
|
void |
clone(org.spearce.jgit.transport.RemoteConfig source)
|
void |
commit(java.io.File f)
|
void |
deleteTag(java.lang.String tagName)
|
java.lang.String |
describe(java.lang.String commitIsh)
|
void |
fetch()
|
void |
fetch(org.spearce.jgit.transport.RemoteConfig remoteRepository)
|
void |
fetch(java.lang.String repository,
java.lang.String refspec)
|
java.util.List<Branch> |
getBranches()
|
java.util.List<Branch> |
getBranchesContaining(java.lang.String revspec)
|
java.lang.String |
getGitExe()
|
java.util.List<Branch> |
getRemoteBranches()
|
java.util.List<org.spearce.jgit.lib.Tag> |
getTagsOnCommit(java.lang.String revName)
|
boolean |
hasGitModules()
|
boolean |
hasGitRepo()
|
java.util.List<IndexEntry> |
lsTree(java.lang.String treeIsh)
|
void |
merge(java.lang.String revSpec)
|
org.spearce.jgit.lib.ObjectId |
mergeBase(org.spearce.jgit.lib.ObjectId sha1,
org.spearce.jgit.lib.ObjectId sha12)
|
void |
push(org.spearce.jgit.transport.RemoteConfig repository,
java.lang.String revspec)
|
java.util.List<org.spearce.jgit.lib.ObjectId> |
revListAll()
|
java.util.List<org.spearce.jgit.lib.ObjectId> |
revListBranch(java.lang.String branchId)
|
org.spearce.jgit.lib.ObjectId |
revParse(java.lang.String revName)
|
void |
submoduleInit()
|
void |
submoduleUpdate()
|
void |
tag(java.lang.String tagName,
java.lang.String comment)
|
getGitExe
java.lang.String getGitExe()
hasGitRepo
boolean hasGitRepo()
throws GitException
- Throws:
GitException
hasGitModules
boolean hasGitModules()
throws GitException
- Throws:
GitException
submoduleInit
void submoduleInit()
throws GitException
- Throws:
GitException
submoduleUpdate
void submoduleUpdate()
throws GitException
- Throws:
GitException
fetch
void fetch(java.lang.String repository,
java.lang.String refspec)
throws GitException
- Throws:
GitException
fetch
void fetch(org.spearce.jgit.transport.RemoteConfig remoteRepository)
fetch
void fetch()
throws GitException
- Throws:
GitException
push
void push(org.spearce.jgit.transport.RemoteConfig repository,
java.lang.String revspec)
throws GitException
- Throws:
GitException
merge
void merge(java.lang.String revSpec)
throws GitException
- Throws:
GitException
clone
void clone(org.spearce.jgit.transport.RemoteConfig source)
throws GitException
- Throws:
GitException
revParse
org.spearce.jgit.lib.ObjectId revParse(java.lang.String revName)
throws GitException
- Throws:
GitException
getBranches
java.util.List<Branch> getBranches()
throws GitException
- Throws:
GitException
getRemoteBranches
java.util.List<Branch> getRemoteBranches()
throws GitException,
java.io.IOException
- Throws:
GitException
java.io.IOException
getBranchesContaining
java.util.List<Branch> getBranchesContaining(java.lang.String revspec)
throws GitException
- Throws:
GitException
lsTree
java.util.List<IndexEntry> lsTree(java.lang.String treeIsh)
throws GitException
- Throws:
GitException
revListBranch
java.util.List<org.spearce.jgit.lib.ObjectId> revListBranch(java.lang.String branchId)
throws GitException
- Throws:
GitException
revListAll
java.util.List<org.spearce.jgit.lib.ObjectId> revListAll()
throws GitException
- Throws:
GitException
describe
java.lang.String describe(java.lang.String commitIsh)
throws GitException
- Throws:
GitException
getTagsOnCommit
java.util.List<org.spearce.jgit.lib.Tag> getTagsOnCommit(java.lang.String revName)
throws GitException,
java.io.IOException
- Throws:
GitException
java.io.IOException
tag
void tag(java.lang.String tagName,
java.lang.String comment)
throws GitException
- Throws:
GitException
deleteTag
void deleteTag(java.lang.String tagName)
throws GitException
- Throws:
GitException
changelog
void changelog(java.lang.String revFrom,
java.lang.String revTo,
java.io.OutputStream fos)
throws GitException
- Throws:
GitException
checkout
void checkout(java.lang.String revToBuild)
throws GitException
- Throws:
GitException
add
void add(java.lang.String filePattern)
throws GitException
- Throws:
GitException
branch
void branch(java.lang.String name)
throws GitException
- Throws:
GitException
commit
void commit(java.io.File f)
throws GitException
- Throws:
GitException
mergeBase
org.spearce.jgit.lib.ObjectId mergeBase(org.spearce.jgit.lib.ObjectId sha1,
org.spearce.jgit.lib.ObjectId sha12)
Copyright © 2009. All Rights Reserved.