|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jenkinsci.plugins.darcs.DarcsCmd
public class DarcsCmd
Abstracts the Darcs command.
Nested Class Summary | |
---|---|
static class |
DarcsCmd.DarcsCmdException
Darcs command exception. |
Constructor Summary | |
---|---|
DarcsCmd(hudson.Launcher launcher,
Map<String,String> envs,
String darcsExe,
hudson.FilePath workingDir)
Creates a Darcs command object. |
Method Summary | |
---|---|
ByteArrayOutputStream |
allChanges(String repo)
|
ByteArrayOutputStream |
allSummarizedChanges(String repo)
|
int |
countChanges(String repo)
|
hudson.Launcher.ProcStarter |
createProc(hudson.util.ArgumentListBuilder args)
Creates process starter. |
void |
get(String repo,
String from)
Do a fresh checkout of a repository. |
ByteArrayOutputStream |
lastSummarizedChanges(String repo,
int n)
|
void |
pull(String repo,
String from)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DarcsCmd(hudson.Launcher launcher, Map<String,String> envs, String darcsExe, hudson.FilePath workingDir)
launcher
- starts a processenvs
- environment variablesdarcsExe
- executable nameMethod Detail |
---|
public hudson.Launcher.ProcStarter createProc(hudson.util.ArgumentListBuilder args)
args
- builds argument list for command
public ByteArrayOutputStream lastSummarizedChanges(String repo, int n) throws DarcsCmd.DarcsCmdException
DarcsCmd.DarcsCmdException
public ByteArrayOutputStream allSummarizedChanges(String repo) throws DarcsCmd.DarcsCmdException
DarcsCmd.DarcsCmdException
public ByteArrayOutputStream allChanges(String repo) throws DarcsCmd.DarcsCmdException
DarcsCmd.DarcsCmdException
public int countChanges(String repo) throws DarcsCmd.DarcsCmdException
DarcsCmd.DarcsCmdException
public void pull(String repo, String from) throws DarcsCmd.DarcsCmdException
DarcsCmd.DarcsCmdException
public void get(String repo, String from) throws DarcsCmd.DarcsCmdException
repo
- where to checkoutfrom
- from where to get the repository
DarcsCmd.DarcsCmdException
- if can't do checkout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |