hudson.plugins.git
Interface IGitAPI
- All Known Implementing Classes:
- GitAPI
public interface IGitAPI
getGitExe
java.lang.String getGitExe()
getEnvironment
hudson.EnvVars getEnvironment()
init
void init()
throws GitException
- Throws:
GitException
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
submoduleSync
void submoduleSync()
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
clean
void clean()
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
tagExists
boolean tagExists(java.lang.String tagName)
throws GitException
- Throws:
GitException
deleteTag
void deleteTag(java.lang.String tagName)
throws GitException
- Throws:
GitException
getTagNames
java.util.Set<java.lang.String> getTagNames(java.lang.String tagPattern)
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
checkoutBranch
void checkoutBranch(java.lang.String branch,
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
deleteBranch
void deleteBranch(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)
getAllLogEntries
java.lang.String getAllLogEntries(java.lang.String branch)
showRevision
java.util.List<java.lang.String> showRevision(Revision r)
throws GitException
- Throws:
GitException
Copyright © 2010. All Rights Reserved.