public abstract class DefaultStepContext
extends org.jenkinsci.plugins.workflow.steps.StepContext
Constructor and Description |
---|
DefaultStepContext() |
Modifier and Type | Method and Description |
---|---|
protected abstract <T> T |
doGet(Class<T> key)
The actual logic of
get(java.lang.Class<T>) , such as retrieving overrides passed to StepContext.newBodyInvoker() . |
<T> T |
get(Class<T> key)
Uses
doGet(java.lang.Class<T>) but automatically translates certain kinds of objects into others. |
protected abstract org.jenkinsci.plugins.workflow.flow.FlowExecution |
getExecution()
Finds the associated execution.
|
protected abstract org.jenkinsci.plugins.workflow.graph.FlowNode |
getNode()
Finds the associated node.
|
equals, hasBody, hashCode, isReady, newBodyInvoker, onSuccess, saveState, setResult
public final <T> T get(Class<T> key) throws IOException, InterruptedException
doGet(java.lang.Class<T>)
but automatically translates certain kinds of objects into others.
get
in class org.jenkinsci.plugins.workflow.steps.StepContext
IOException
InterruptedException
@CheckForNull protected abstract <T> T doGet(Class<T> key) throws IOException, InterruptedException
get(java.lang.Class<T>)
, such as retrieving overrides passed to StepContext.newBodyInvoker()
.IOException
InterruptedException
@Nonnull protected abstract org.jenkinsci.plugins.workflow.flow.FlowExecution getExecution() throws IOException
IOException
@Nonnull protected abstract org.jenkinsci.plugins.workflow.graph.FlowNode getNode() throws IOException
IOException
Copyright © 2016–2017. All rights reserved.