public class DSL extends groovy.lang.GroovyObjectSupport implements Serializable
Step
s and other DSL objects.Constructor and Description |
---|
DSL(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner handle) |
Modifier and Type | Method and Description |
---|---|
protected Object |
invokeDescribable(String symbol,
Object _args)
When
invokeMethod(String, Object) is calling a generic Descriptor |
Object |
invokeMethod(String name,
Object args)
Executes the
Step implementation specified by the name argument. |
protected Object |
invokeStep(org.jenkinsci.plugins.workflow.steps.StepDescriptor d,
Object args)
Deprecated.
|
protected Object |
invokeStep(org.jenkinsci.plugins.workflow.steps.StepDescriptor d,
String name,
Object args)
When
invokeMethod(String, Object) is calling a StepDescriptor |
static boolean |
isKeepStepArguments()
Tell us if we should store
Step arguments in an ArgumentsAction
or simply discard them (if set to false, explicitly) |
protected Object |
readResolve() |
protected Object readResolve() throws IOException
IOException
public static boolean isKeepStepArguments()
Step
arguments in an ArgumentsAction
or simply discard them (if set to false, explicitly)public Object invokeMethod(String name, Object args)
Step
implementation specified by the name argument.invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class groovy.lang.GroovyObjectSupport
protected Object invokeStep(org.jenkinsci.plugins.workflow.steps.StepDescriptor d, Object args)
invokeStep(StepDescriptor, String, Object)
invokeMethod(String, Object)
is calling a StepDescriptor
protected Object invokeStep(org.jenkinsci.plugins.workflow.steps.StepDescriptor d, String name, Object args)
invokeMethod(String, Object)
is calling a StepDescriptor
d
- The StepDescriptor
being invoked.name
- The name used to invoke the step. May be StepDescriptor.getFunctionName()
, a symbol as in StepDescriptor.metaStepsOf(java.lang.String)
, or d.clazz.getName()
.args
- The arguments passed to the step.protected Object invokeDescribable(String symbol, Object _args)
invokeMethod(String, Object)
is calling a generic Descriptor
Copyright © 2016–2020. All rights reserved.