Class RealCommandLauncher
- java.lang.Object
-
- io.jenkins.plugins.venaficodesigning.RealCommandLauncher
-
- All Implemented Interfaces:
CommandLauncher
public class RealCommandLauncher extends Object implements CommandLauncher
-
-
Constructor Summary
Constructors Constructor Description RealCommandLauncher(Launcher jenkinsLauncher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandLaunchercmds(String... args)CommandLauncherenvs(Map<String,String> overrides)intgetCode()StringgetOutput()CommandLaunchermasks(boolean... values)CommandLauncherpwd(String path)CommandLauncherquiet(boolean value)voidstartAndJoin()
-
-
-
Constructor Detail
-
RealCommandLauncher
public RealCommandLauncher(@Nonnull Launcher jenkinsLauncher)
-
-
Method Detail
-
cmds
public CommandLauncher cmds(@Nonnull String... args)
- Specified by:
cmdsin interfaceCommandLauncher
-
envs
public CommandLauncher envs(@Nonnull Map<String,String> overrides)
- Specified by:
envsin interfaceCommandLauncher
-
masks
public CommandLauncher masks(@Nonnull boolean... values)
- Specified by:
masksin interfaceCommandLauncher
-
quiet
public CommandLauncher quiet(boolean value)
- Specified by:
quietin interfaceCommandLauncher
-
pwd
public CommandLauncher pwd(@Nonnull String path)
- Specified by:
pwdin interfaceCommandLauncher
-
startAndJoin
public void startAndJoin() throws IOException, InterruptedException- Specified by:
startAndJoinin interfaceCommandLauncher- Throws:
IOExceptionInterruptedException
-
getCode
public int getCode()
- Specified by:
getCodein interfaceCommandLauncher
-
getOutput
public String getOutput()
- Specified by:
getOutputin interfaceCommandLauncher
-
-