Class WaitForHarborWebhookExecution

java.lang.Object
org.jenkinsci.plugins.workflow.steps.StepExecution
io.jenkins.plugins.harbor.steps.WaitForHarborWebhookExecution
All Implemented Interfaces:
Serializable, Consumer<HarborWebhookEvent>

public class WaitForHarborWebhookExecution extends org.jenkinsci.plugins.workflow.steps.StepExecution implements Consumer<HarborWebhookEvent>
See Also:
  • Constructor Details

    • WaitForHarborWebhookExecution

      public WaitForHarborWebhookExecution(org.jenkinsci.plugins.workflow.steps.StepContext context, WaitForHarborWebhookStep waitForHarborWebhookStep)
  • Method Details

    • start

      public boolean start() throws Exception
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.StepExecution
      Throws:
      Exception
    • checkScanStatus

      public boolean checkScanStatus(VulnerabilityScanStatus scanStatus, Severity severity, boolean onStart)
    • stop

      public void stop(@NonNull Throwable cause) throws Exception
      Overrides:
      stop in class org.jenkinsci.plugins.workflow.steps.StepExecution
      Throws:
      Exception
    • onResume

      public void onResume()
      Overrides:
      onResume in class org.jenkinsci.plugins.workflow.steps.StepExecution
    • accept

      public void accept(HarborWebhookEvent harborWebhookEvent)
      Specified by:
      accept in interface Consumer<HarborWebhookEvent>