public interface ClearToolLauncher
Modifier and Type | Method and Description |
---|---|
String |
getCmdString(String[] cmd) |
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 |
isUnix() |
boolean |
run(String[] cmd,
hudson.FilePath execPath)
Launches a cleartool command with arguments.
|
boolean |
run(String[] cmd,
InputStream in,
OutputStream out,
hudson.FilePath execPath)
Launches a cleartool command with arguments.
|
boolean |
run(String[] cmd,
InputStream in,
OutputStream out,
hudson.FilePath execPath,
boolean logCommand)
Launches a cleartool command with arguments.
|
hudson.Launcher getLauncher()
hudson.model.TaskListener getListener()
hudson.FilePath getWorkspace()
boolean isUnix()
boolean run(String[] cmd, hudson.FilePath execPath) throws IOException, InterruptedException
cmd
- the command to launch using the clear tool executablefilePath
- IOException
InterruptedException
boolean run(String[] cmd, InputStream in, OutputStream out, hudson.FilePath execPath) throws IOException, 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 launchedIOException
InterruptedException
boolean run(String[] cmd, InputStream in, OutputStream out, hudson.FilePath execPath, boolean logCommand) throws IOException, 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 launchedlogCommand
- optional, log the command itselfIOException
InterruptedException
Copyright © 2004-2021. All Rights Reserved.