hudson.plugins.git
Interface IGitAPI

All Known Implementing Classes:
GitAPI

public interface IGitAPI


Method Summary
 void checkout(java.lang.String revToBuild)
           
 void clone(java.lang.String source)
           
 void deleteTag(java.lang.String tagName)
           
 void diff(java.io.OutputStream baos)
           
 void fetch()
           
 java.util.List<Branch> getBranches()
           
 java.util.List<Branch> getBranchesContaining(java.lang.String revspec)
           
 java.util.List<Tag> getTags()
           
 boolean hasGitModules()
           
 boolean hasGitRepo()
           
 void log(java.lang.String revFrom, java.lang.String revTo, java.io.OutputStream fos)
           
 void merge(java.lang.String revSpec)
           
 void push(java.lang.String revspec)
           
 java.lang.String revParse(java.lang.String revName)
           
 void submoduleInit()
           
 void submoduleUpdate()
           
 void tag(java.lang.String tagName, java.lang.String comment)
           
 

Method Detail

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()
           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

getTags

java.util.List<Tag> getTags()
                            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

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

log

void log(java.lang.String revFrom,
         java.lang.String revTo,
         java.io.OutputStream fos)
         throws GitException
Throws:
GitException

diff

void diff(java.io.OutputStream baos)
          throws GitException
Throws:
GitException

checkout

void checkout(java.lang.String revToBuild)
              throws GitException
Throws:
GitException


Copyright © 2008. All Rights Reserved.