Class CommandExecutor
- java.lang.Object
-
- redhat.jenkins.plugins.rhda.utils.CommandExecutor
-
public class CommandExecutor extends Object
-
-
Constructor Summary
Constructors Constructor Description CommandExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
execute(String command, PrintStream logger)
String
execute(String command, PrintStream logger, Map<String,String> envs)
ProcessBuilder
setEnv(ProcessBuilder processBuilder, Map<String,String> envs)
-
-
-
Method Detail
-
setEnv
public ProcessBuilder setEnv(ProcessBuilder processBuilder, Map<String,String> envs)
-
execute
public String execute(String command, PrintStream logger)
-
-