|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.clearcase.HudsonClearToolLauncher
public class HudsonClearToolLauncher
Class for executing the cleartool commands in the Hudson instance.
| Constructor Summary | |
|---|---|
HudsonClearToolLauncher(java.lang.String executable,
java.lang.String scmName,
hudson.model.TaskListener listener,
hudson.FilePath workspace,
hudson.Launcher launcher)
|
|
| 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 filePath)
Launches a cleartool command with arguments. |
boolean |
run(java.lang.String[] cmd,
java.io.InputStream inputStream,
java.io.OutputStream outputStream,
hudson.FilePath filePath)
Launches a cleartool command with arguments. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HudsonClearToolLauncher(java.lang.String executable,
java.lang.String scmName,
hudson.model.TaskListener listener,
hudson.FilePath workspace,
hudson.Launcher launcher)
| Method Detail |
|---|
public hudson.model.TaskListener getListener()
ClearToolLauncher
getListener in interface ClearToolLauncherpublic hudson.FilePath getWorkspace()
ClearToolLauncher
getWorkspace in interface ClearToolLauncher
public boolean run(java.lang.String[] cmd,
hudson.FilePath filePath)
throws java.io.IOException,
java.lang.InterruptedException
ClearToolLauncher
run in interface ClearToolLaunchercmd - the command to launch using the clear tool executable
java.io.IOException
java.lang.InterruptedException
public boolean run(java.lang.String[] cmd,
java.io.InputStream inputStream,
java.io.OutputStream outputStream,
hudson.FilePath filePath)
throws java.io.IOException,
java.lang.InterruptedException
ClearToolLauncher
run in interface ClearToolLaunchercmd - the command to launch using the clear tool executableinputStream - optional, if the command should be able to receive inputoutputStream - optional, can be used to gather the output streamfilePath - optional, the path where the command should be launched
java.io.IOException
java.lang.InterruptedExceptionpublic hudson.Launcher getLauncher()
getLauncher in interface ClearToolLauncher
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||