|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClearToolLauncher
Interface to hide the Hudson launch parts so other parts can mock the actual launch.
| Method Summary | |
|---|---|
hudson.Launcher |
getLauncher()
|
hudson.model.TaskListener |
getListener()
Returns a task listener for a hudson job |
hudson.FilePath |
getWorkspace()
Returns the workspace file path for a hudson job |
boolean |
run(java.lang.String[] cmd,
hudson.FilePath execPath)
Launches a cleartool command with arguments. |
boolean |
run(java.lang.String[] cmd,
java.io.InputStream in,
java.io.OutputStream out,
hudson.FilePath execPath)
Launches a cleartool command with arguments. |
| Method Detail |
|---|
boolean run(java.lang.String[] cmd,
hudson.FilePath execPath)
throws java.io.IOException,
java.lang.InterruptedException
cmd - the command to launch using the clear tool executablefilePath -
java.io.IOException
java.lang.InterruptedException
boolean run(java.lang.String[] cmd,
java.io.InputStream in,
java.io.OutputStream out,
hudson.FilePath execPath)
throws java.io.IOException,
java.lang.InterruptedException
cmd - the command to launch using the clear tool executablein - optional, if the command should be able to receive inputout - optional, can be used to gather the output streamexecPath - optional, the path where the command should be launched
java.io.IOException
java.lang.InterruptedExceptionhudson.model.TaskListener getListener()
hudson.FilePath getWorkspace()
hudson.Launcher getLauncher()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||