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(java.lang.String source)
           
 void commit(java.io.File f)
           
 void deleteTag(java.lang.String tagName)
           
 void fetch()
           
 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<Tag> getHudsonTags()
           
 boolean hasGitModules()
           
 boolean hasGitRepo()
           
 java.util.List<IndexEntry> lsTree(java.lang.String treeIsh)
           
 void merge(java.lang.String revSpec)
           
 void push(java.lang.String revspec)
           
 java.util.List<java.lang.String> revListAll()
           
 java.util.List<java.lang.String> revListBranch(java.lang.String branchId)
           
 java.lang.String revParse(java.lang.String revName)
           
 void submoduleInit()
           
 void submoduleUpdate()
           
 void tag(java.lang.String tagName, java.lang.String comment)
           
 

Method Detail

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()
           throws GitException
Throws:
GitException

push

void push(java.lang.String revspec)
          throws GitException
Throws:
GitException

merge

void merge(java.lang.String revSpec)
           throws GitException
Throws:
GitException

clone

void clone(java.lang.String source)
           throws GitException
Throws:
GitException

revParse

java.lang.String revParse(java.lang.String revName)
                          throws GitException
Throws:
GitException

getHudsonTags

java.util.List<Tag> getHudsonTags()
                                  throws GitException
Throws:
GitException

getBranches

java.util.List<Branch> getBranches()
                                   throws GitException
Throws:
GitException

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<java.lang.String> revListBranch(java.lang.String branchId)
                                               throws GitException
Throws:
GitException

revListAll

java.util.List<java.lang.String> revListAll()
                                            throws GitException
Throws:
GitException

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


Copyright © 2008. All Rights Reserved.