public class Commands extends Object implements Serializable
Constructor and Description |
---|
Commands() |
Modifier and Type | Method and Description |
---|---|
String[] |
buildCompareProjectCommand(String newProject,
String oldProject)
Builds a compare project command.
|
void |
executeSynergyCommand(hudson.FilePath path,
Command command)
Executes a Synergy command.
|
void |
executeSynergyCommand(hudson.FilePath path,
StreamCommand command)
Executes a Synergy command.
|
String |
getCcmAddr() |
String |
getCcmEngLog() |
String |
getCcmExe() |
String |
getCcmUiLog() |
String |
getHome() |
hudson.Launcher |
getLauncher() |
hudson.model.TaskListener |
getTaskListener() |
protected void |
printCommandLine(String[] cmd,
hudson.FilePath workDir,
boolean[] mask)
Prints out the command line to the listener so that users know what we are doing.
|
void |
setCcmAddr(String ccmAddr) |
void |
setCcmEngLog(String ccmEngLog) |
void |
setCcmExe(String ccmExe) |
void |
setCcmHome(String ccmHome) |
void |
setCcmUiLog(String ccmUiLog) |
void |
setLauncher(hudson.Launcher launcher) |
void |
setTaskListener(hudson.model.TaskListener buildListener) |
public hudson.model.TaskListener getTaskListener()
public void setTaskListener(hudson.model.TaskListener buildListener)
public String getCcmAddr()
public void setCcmAddr(String ccmAddr)
public hudson.Launcher getLauncher()
public void setLauncher(hudson.Launcher launcher)
public String getCcmEngLog()
public void setCcmEngLog(String ccmEngLog)
public String getCcmUiLog()
public void setCcmUiLog(String ccmUiLog)
public String getCcmExe()
public void setCcmExe(String ccmExe)
public String getHome()
public void setCcmHome(String ccmHome)
public String[] buildCompareProjectCommand(String newProject, String oldProject)
public void executeSynergyCommand(hudson.FilePath path, Command command) throws IOException, InterruptedException, SynergyException
path
- Current directorycommand
- Command and argumentsIOException
InterruptedException
SynergyException
public void executeSynergyCommand(hudson.FilePath path, StreamCommand command) throws IOException, InterruptedException, SynergyException
path
- Current directorycommand
- Command and argumentsIOException
InterruptedException
SynergyException
protected final void printCommandLine(String[] cmd, hudson.FilePath workDir, boolean[] mask)
Copyright © 2008-2013. All Rights Reserved.