public class JazzScmCommand extends Object
Constructor and Description |
---|
JazzScmCommand(String cmd,
ScmProviderRepository repo,
ScmFileSet fileSet,
ScmLogger logger)
Create a JazzScmCommand when no sub-command is needed.
|
JazzScmCommand(String cmd,
String subCmd,
ScmProviderRepository repo,
boolean addRepositoryWorkspaceArg,
ScmFileSet fileSet,
ScmLogger logger)
Create a JazzScmCommand, adding the repository-uri as needed.
|
JazzScmCommand(String cmd,
String subCmd,
ScmProviderRepository repo,
ScmFileSet fileSet,
ScmLogger logger)
Create a JazzScmCommand when a sub-command is needed.
|
Modifier and Type | Method and Description |
---|---|
void |
addArgument(ScmFileSet fileSet) |
void |
addArgument(String arg) |
static String |
cryptPassword(Commandline cl) |
int |
execute(StreamConsumer out,
ErrorConsumer err) |
Commandline |
getCommandline() |
String |
getCommandString() |
public JazzScmCommand(String cmd, ScmProviderRepository repo, ScmFileSet fileSet, ScmLogger logger)
ScmException
public JazzScmCommand(String cmd, String subCmd, ScmProviderRepository repo, ScmFileSet fileSet, ScmLogger logger)
public JazzScmCommand(String cmd, String subCmd, ScmProviderRepository repo, boolean addRepositoryWorkspaceArg, ScmFileSet fileSet, ScmLogger logger)
public void addArgument(ScmFileSet fileSet)
public void addArgument(String arg)
public int execute(StreamConsumer out, ErrorConsumer err) throws ScmException
ScmException
public String getCommandString()
public Commandline getCommandline()
public static String cryptPassword(Commandline cl)
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.