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 String
getToken()
void
onResume()
void
onTriggered(WebhookResponse response)
boolean
start()
void
stop(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:
start
in classorg.jenkinsci.plugins.workflow.steps.StepExecution
-
stop
public void stop(@NonNull Throwable cause)
- Overrides:
stop
in classorg.jenkinsci.plugins.workflow.steps.StepExecution
-
onResume
public void onResume()
- Overrides:
onResume
in classorg.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
-
onTriggered
public void onTriggered(WebhookResponse response)
-
-