public class CommandRunner extends Object
Modifier and Type | Method and Description |
---|---|
static Reader |
execute(PlasticTool tool,
Command command) |
static Reader |
execute(PlasticTool tool,
Command command,
hudson.FilePath executionPath,
boolean printOutput) |
static <T> T |
executeAndRead(PlasticTool tool,
ParseableCommand<T> command) |
static <T> T |
executeAndRead(PlasticTool tool,
ParseableCommand<T> command,
boolean printOutput) |
static <T> T |
executeAndRead(PlasticTool tool,
ParseableCommand<T> command,
hudson.FilePath executionPath,
boolean printOutput) |
public static Reader execute(PlasticTool tool, Command command) throws IOException, InterruptedException
IOException
InterruptedException
public static Reader execute(PlasticTool tool, Command command, hudson.FilePath executionPath, boolean printOutput) throws IOException, InterruptedException
IOException
InterruptedException
public static <T> T executeAndRead(PlasticTool tool, ParseableCommand<T> command) throws IOException, InterruptedException, ParseException
public static <T> T executeAndRead(PlasticTool tool, ParseableCommand<T> command, boolean printOutput) throws IOException, InterruptedException, ParseException
public static <T> T executeAndRead(PlasticTool tool, ParseableCommand<T> command, hudson.FilePath executionPath, boolean printOutput) throws IOException, InterruptedException, ParseException
Copyright © 2016–2023. All rights reserved.