Class ExecutorStepDynamicContext.NodeTranslator
java.lang.Object
org.jenkinsci.plugins.workflow.steps.DynamicContext.Typed<Node>
org.jenkinsci.plugins.workflow.support.steps.ExecutorStepDynamicContext.NodeTranslator
- All Implemented Interfaces:
ExtensionPoint
,org.jenkinsci.plugins.workflow.steps.DynamicContext
- Enclosing class:
- ExecutorStepDynamicContext
@Extension
public static final class ExecutorStepDynamicContext.NodeTranslator
extends org.jenkinsci.plugins.workflow.steps.DynamicContext.Typed<Node>
Need not use
ExecutorStepDynamicContext.Translator
since we can serve a Node
even when offline.
Overrides default behavior in DefaultStepContext
which would delegate to ExecutorStepDynamicContext.ComputerTranslator
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jenkinsci.plugins.workflow.steps.DynamicContext
org.jenkinsci.plugins.workflow.steps.DynamicContext.DelegatedContext, org.jenkinsci.plugins.workflow.steps.DynamicContext.Typed<T extends Object>
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Methods inherited from class org.jenkinsci.plugins.workflow.steps.DynamicContext.Typed
get
-
Constructor Details
-
NodeTranslator
public NodeTranslator()
-
-
Method Details
-
type
- Specified by:
type
in classorg.jenkinsci.plugins.workflow.steps.DynamicContext.Typed<Node>
-
get
protected Node get(org.jenkinsci.plugins.workflow.steps.DynamicContext.DelegatedContext context) throws IOException, InterruptedException - Specified by:
get
in classorg.jenkinsci.plugins.workflow.steps.DynamicContext.Typed<Node>
- Throws:
IOException
InterruptedException
-