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 CommandLauncher
cmds(String... args)
CommandLauncher
envs(Map<String,String> overrides)
int
getCode()
String
getOutput()
CommandLauncher
masks(boolean... values)
CommandLauncher
pwd(String path)
CommandLauncher
quiet(boolean value)
void
startAndJoin()
-
-
-
Constructor Detail
-
RealCommandLauncher
public RealCommandLauncher(@Nonnull Launcher jenkinsLauncher)
-
-
Method Detail
-
cmds
public CommandLauncher cmds(@Nonnull String... args)
- Specified by:
cmds
in interfaceCommandLauncher
-
envs
public CommandLauncher envs(@Nonnull Map<String,String> overrides)
- Specified by:
envs
in interfaceCommandLauncher
-
masks
public CommandLauncher masks(@Nonnull boolean... values)
- Specified by:
masks
in interfaceCommandLauncher
-
quiet
public CommandLauncher quiet(boolean value)
- Specified by:
quiet
in interfaceCommandLauncher
-
pwd
public CommandLauncher pwd(@Nonnull String path)
- Specified by:
pwd
in interfaceCommandLauncher
-
startAndJoin
public void startAndJoin() throws IOException, InterruptedException
- Specified by:
startAndJoin
in interfaceCommandLauncher
- Throws:
IOException
InterruptedException
-
getCode
public int getCode()
- Specified by:
getCode
in interfaceCommandLauncher
-
getOutput
public String getOutput()
- Specified by:
getOutput
in interfaceCommandLauncher
-
-