public abstract class CommandExecutor extends Object
| Modifier and Type | Method and Description |
|---|---|
static CommandExecutorResponse |
exec(List<String> commands,
Map<String,String> env,
String dir)
Exec command executor.
|
static <T> T |
exec(List<String> commands,
Map<String,String> env,
String dir,
CommandExecutorResponseParser<T> responseParser)
Exec command executor.
|
static CommandExecutorResponse |
exec(List<String> commands,
String dir)
Exec command executor.
|
public static CommandExecutorResponse exec(List<String> commands, String dir)
commands - the commandsdir - the dirpublic static CommandExecutorResponse exec(List<String> commands, Map<String,String> env, String dir)
commands - the commandsenv - the envdir - the dirpublic static <T> T exec(List<String> commands, Map<String,String> env, String dir, CommandExecutorResponseParser<T> responseParser)
T - the type parametercommands - the commandsenv - the envdir - the dirresponseParser - the response parserCopyright © 2020 bremersee.org. All rights reserved.