Class DSL
java.lang.Object
groovy.lang.GroovyObjectSupport
org.jenkinsci.plugins.workflow.cps.DSL
- All Implemented Interfaces:
groovy.lang.GroovyObject,Serializable
Calls
Steps and other DSL objects.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectinvokeDescribable(String symbol, Object _args) WheninvokeMethod(String, Object)is calling a genericDescriptorinvokeMethod(String name, Object args) Executes theStepimplementation specified by the name argument.protected ObjectinvokeStep(org.jenkinsci.plugins.workflow.steps.StepDescriptor d, Object args) Deprecated.protected ObjectinvokeStep(org.jenkinsci.plugins.workflow.steps.StepDescriptor d, String name, Object args) WheninvokeMethod(String, Object)is calling aStepDescriptorstatic booleanTell us if we should storeSteparguments in anArgumentsActionor simply discard them (if set to false, explicitly)protected ObjectMethods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, getProperty, setMetaClass, setProperty
-
Field Details
-
UNSAFE_GROOVY_INTERPOLATION
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static String UNSAFE_GROOVY_INTERPOLATION
-
-
Constructor Details
-
DSL
public DSL(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner handle)
-
-
Method Details
-
readResolve
- Throws:
IOException
-
isKeepStepArguments
public static boolean isKeepStepArguments()Tell us if we should storeSteparguments in anArgumentsActionor simply discard them (if set to false, explicitly) -
invokeMethod
Executes theStepimplementation specified by the name argument.- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classgroovy.lang.GroovyObjectSupport- Returns:
- If the step completes execution synchronously, the result will be returned. Otherwise this method suspends.
-
invokeStep
@Deprecated protected Object invokeStep(org.jenkinsci.plugins.workflow.steps.StepDescriptor d, Object args) Deprecated.WheninvokeMethod(String, Object)is calling aStepDescriptor -
invokeStep
protected Object invokeStep(org.jenkinsci.plugins.workflow.steps.StepDescriptor d, String name, Object args) WheninvokeMethod(String, Object)is calling aStepDescriptor- Parameters:
d- TheStepDescriptorbeing invoked.name- The name used to invoke the step. May beStepDescriptor.getFunctionName(), a symbol as inStepDescriptor.metaStepsOf(java.lang.String), ord.clazz.getName().args- The arguments passed to the step.
-
invokeDescribable
WheninvokeMethod(String, Object)is calling a genericDescriptor
-
invokeStep(StepDescriptor, String, Object)