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 useExecutorStepDynamicContext.Translator
since we can serve aNode
even when offline. Overrides default behavior inDefaultStepContext
which would delegate toExecutorStepDynamicContext.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
Constructors Constructor Description NodeTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Node
get(org.jenkinsci.plugins.workflow.steps.DynamicContext.DelegatedContext context)
protected Class<Node>
type()
-
-
-
Method Detail
-
type
protected Class<Node> 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
-
-