|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.git.GitAPI
public class GitAPI
| Constructor Summary | |
|---|---|
GitAPI(java.lang.String gitExe,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener)
|
|
| Method Summary | |
|---|---|
void |
clone(java.lang.String source)
Start from scratch and clone the whole repository. |
protected java.util.Map<java.lang.String,java.lang.String> |
createEnvVarMap()
|
void |
diff(java.io.OutputStream baos)
|
void |
fetch()
|
java.lang.String |
getGitExe()
|
boolean |
hasGitModules()
|
boolean |
hasGitRepo()
|
void |
log(java.io.OutputStream fos)
|
void |
merge()
Merge any changes into the head. |
void |
submoduleInit()
Init submodules. |
void |
submoduleUpdate()
Update submodules. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GitAPI(java.lang.String gitExe,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener)
| Method Detail |
|---|
public java.lang.String getGitExe()
public boolean hasGitRepo()
throws GitException
hasGitRepo in interface IGitAPIGitException
public boolean hasGitModules()
throws GitException
hasGitModules in interface IGitAPIGitException
public void fetch()
throws GitException
fetch in interface IGitAPIGitException
public void clone(java.lang.String source)
throws GitException
clone in interface IGitAPIGitException
public void diff(java.io.OutputStream baos)
throws GitException
diff in interface IGitAPIGitException
public void log(java.io.OutputStream fos)
throws GitException
log in interface IGitAPIGitException
public void merge()
throws GitException
merge in interface IGitAPIGitException
public void submoduleInit()
throws GitException
submoduleInit in interface IGitAPIGitException
public void submoduleUpdate()
throws GitException
submoduleUpdate in interface IGitAPIGitExceptionprotected final java.util.Map<java.lang.String,java.lang.String> createEnvVarMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||