
hudson.plugins.git.IGitAPI Maven / Gradle / Ivy
package hudson.plugins.git;
import java.io.OutputStream;
import java.util.List;
public interface IGitAPI {
boolean hasGitRepo() throws GitException;
boolean hasGitModules() throws GitException;
void submoduleInit() throws GitException;
void submoduleUpdate() throws GitException;
void fetch() throws GitException;
void push(String revspec) throws GitException;
void merge(String revSpec) throws GitException;
void clone(String source) throws GitException;
String revParse(String revName) throws GitException;
List getTags() throws GitException;
List getBranches() throws GitException;
List getBranchesContaining(String revspec) throws GitException;
void tag(String tagName, String comment) throws GitException;
void deleteTag(String tagName) throws GitException;
void log(String revFrom, String revTo, OutputStream fos) throws GitException;
void diff(OutputStream baos) throws GitException;
void checkout(String revToBuild) throws GitException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy