Interface RemoteLockSession.Host
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
LockStepExecution
- Enclosing class:
RemoteLockSession
Step-side integration the session calls back into. Implemented by
LockStepExecution; kept
minimal so the bulk of the remote flow lives here rather than in the core step class.-
Method Summary
Modifier and TypeMethodDescriptionorg.jenkinsci.plugins.workflow.steps.StepContextcontext()The workflow step context (forRun/FlowNode/TaskListener, onSuccess/onFailure).voidRuns the lock body; on completion the framework releases the remote lock viaRemoteLockSession.onBodyFinished(Host).step()The originatinglock()step.
-
Method Details
-
context
org.jenkinsci.plugins.workflow.steps.StepContext context()The workflow step context (forRun/FlowNode/TaskListener, onSuccess/onFailure). -
step
LockStep step()The originatinglock()step. -
runBody
Runs the lock body; on completion the framework releases the remote lock viaRemoteLockSession.onBodyFinished(Host).
-