Class LockStepExecution

java.lang.Object
org.jenkinsci.plugins.workflow.steps.StepExecution
org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
org.jenkins.plugins.lockableresources.LockStepExecution
All Implemented Interfaces:
Serializable

public class LockStepExecution extends org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl implements Serializable
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    LockStepExecution(LockStep step, org.jenkinsci.plugins.workflow.steps.StepContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    proceed(LinkedHashMap<String,List<LockableResourceProperty>> lockedResources, org.jenkinsci.plugins.workflow.steps.StepContext context, String resourceDescription, String variable)
     
    boolean
     
    void
    stop(Throwable cause)
     

    Methods inherited from class org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl

    inject, onResume

    Methods inherited from class org.jenkinsci.plugins.workflow.steps.StepExecution

    acceptAll, acceptAll, applyAll, applyAll, blocksRestart, getContext, getStatus, getStatusBounded

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LockStepExecution

      public LockStepExecution(LockStep step, org.jenkinsci.plugins.workflow.steps.StepContext context)
  • Method Details

    • start

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

      public static void proceed(LinkedHashMap<String,List<LockableResourceProperty>> lockedResources, org.jenkinsci.plugins.workflow.steps.StepContext context, String resourceDescription, String variable)
    • stop

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