Class SSHAgentStepExecution
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.steps.StepExecution
-
- org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
-
- com.cloudbees.jenkins.plugins.sshagent.SSHAgentStepExecution
-
- All Implemented Interfaces:
LauncherProvider
,Serializable
public class SSHAgentStepExecution extends org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl implements LauncherProvider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SSHAgentStepExecution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Launcher
getLauncher()
Provides an up to date launchervoid
onResume()
boolean
start()
void
stop(Throwable cause)
-
-
-
Method Detail
-
start
public boolean start() throws Exception
- Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.StepExecution
- Throws:
Exception
-
stop
public void stop(@NonNull Throwable cause) throws Exception
- Overrides:
stop
in classorg.jenkinsci.plugins.workflow.steps.StepExecution
- Throws:
Exception
-
onResume
public void onResume()
- Overrides:
onResume
in classorg.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
-
getLauncher
public Launcher getLauncher() throws IOException, InterruptedException
Description copied from interface:LauncherProvider
Provides an up to date launcher- Specified by:
getLauncher
in interfaceLauncherProvider
- Throws:
IOException
InterruptedException
-
-