public class PlasticTool extends Object
| Constructor and Description |
|---|
PlasticTool(CmTool tool,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath workspace,
ClientConfigurationArguments clientConfigurationArguments) |
| Modifier and Type | Method and Description |
|---|---|
Reader |
execute(String[] arguments)
Execute the arguments, and return the console output as a Reader
|
Reader |
execute(String[] arguments,
hudson.FilePath executionPath,
boolean printOutput) |
public PlasticTool(@CheckForNull CmTool tool, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener, @CheckForNull hudson.FilePath workspace, @Nonnull ClientConfigurationArguments clientConfigurationArguments)
@Nonnull public Reader execute(@Nonnull String[] arguments) throws IOException, InterruptedException
arguments - arguments to send to the command-line client.IOException - Operation errorInterruptedException - Process has been interrupted@Nonnull public Reader execute(@Nonnull String[] arguments, @CheckForNull hudson.FilePath executionPath, boolean printOutput) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2016–2023. All rights reserved.