Class WaitForWebhookExecution
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.steps.StepExecution
-
- org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
-
- org.jenkinsci.plugins.webhookstep.WaitForWebhookExecution
-
- All Implemented Interfaces:
Serializable
public class WaitForWebhookExecution extends org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WaitForWebhookExecution(org.jenkinsci.plugins.workflow.steps.StepContext context, WaitForWebhookStep step)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetToken()voidonResume()voidonTriggered(WebhookResponse response)booleanstart()voidstop(Throwable cause)
-
-
-
Constructor Detail
-
WaitForWebhookExecution
public WaitForWebhookExecution(org.jenkinsci.plugins.workflow.steps.StepContext context, WaitForWebhookStep step)
-
-
Method Detail
-
getToken
public String getToken()
-
start
public boolean start()
- Specified by:
startin classorg.jenkinsci.plugins.workflow.steps.StepExecution
-
stop
public void stop(@NonNull Throwable cause)- Overrides:
stopin classorg.jenkinsci.plugins.workflow.steps.StepExecution
-
onResume
public void onResume()
- Overrides:
onResumein classorg.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
-
onTriggered
public void onTriggered(WebhookResponse response)
-
-