Class RuntimeASTTransformer.Wrapper
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.parser.RuntimeASTTransformer.Wrapper
- All Implemented Interfaces:
groovy.lang.GroovyObject
- Enclosing class:
- RuntimeASTTransformer
public static final class RuntimeASTTransformer.Wrapper
extends Object
implements groovy.lang.GroovyObject
-
Constructor Summary
ConstructorDescriptionWrapper
(org.codehaus.groovy.control.SourceUnit sourceUnit, org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef pipelineDef) -
Method Summary
Modifier and TypeMethodDescriptionorg.codehaus.groovy.ast.expr.Expression
asExternalMethodCall
(String groupName, org.codehaus.groovy.ast.ClassNode returnType, org.codehaus.groovy.ast.expr.Expression expression) org.codehaus.groovy.ast.expr.Expression
asExternalMethodCall
(String groupName, org.codehaus.groovy.ast.ClassNode returnType, org.codehaus.groovy.ast.stmt.Statement methodBody) org.codehaus.groovy.ast.expr.Expression
asExternalMethodCall
(List<org.codehaus.groovy.ast.expr.Expression> listExpression) org.codehaus.groovy.ast.expr.Expression
asExternalMethodCall
(org.codehaus.groovy.ast.expr.ConstructorCallExpression expression) org.codehaus.groovy.ast.expr.Expression
asScriptContextVariable
(org.codehaus.groovy.ast.expr.Expression expression) org.codehaus.groovy.ast.expr.Expression
asWrappedScriptContextVariable
(org.codehaus.groovy.ast.expr.Expression expression) org.codehaus.groovy.ast.expr.Expression
asWrappedScriptContextVariable
(org.codehaus.groovy.ast.expr.Expression expression, boolean force) org.codehaus.groovy.ast.expr.ClosureExpression
createPipelineClosureX
(org.codehaus.groovy.ast.expr.Expression root) groovy.lang.MetaClass
getProperty
(String property) invokeMethod
(String method, Object arguments) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value)
-
Constructor Details
-
Wrapper
public Wrapper(@NonNull org.codehaus.groovy.control.SourceUnit sourceUnit, @NonNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef pipelineDef)
-
-
Method Details
-
asWrappedScriptContextVariable
@NonNull public org.codehaus.groovy.ast.expr.Expression asWrappedScriptContextVariable(@NonNull org.codehaus.groovy.ast.expr.Expression expression) -
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
createPipelineClosureX
@NonNull public org.codehaus.groovy.ast.expr.ClosureExpression createPipelineClosureX(@NonNull org.codehaus.groovy.ast.expr.Expression root) -
asExternalMethodCall
@NonNull public org.codehaus.groovy.ast.expr.Expression asExternalMethodCall(@NonNull org.codehaus.groovy.ast.expr.ConstructorCallExpression expression) -
asExternalMethodCall
@NonNull public org.codehaus.groovy.ast.expr.Expression asExternalMethodCall(@NonNull List<org.codehaus.groovy.ast.expr.Expression> listExpression) -
asWrappedScriptContextVariable
@NonNull public org.codehaus.groovy.ast.expr.Expression asWrappedScriptContextVariable(@NonNull org.codehaus.groovy.ast.expr.Expression expression, boolean force) -
asScriptContextVariable
@NonNull public org.codehaus.groovy.ast.expr.Expression asScriptContextVariable(@NonNull org.codehaus.groovy.ast.expr.Expression expression) -
asExternalMethodCall
@NonNull public org.codehaus.groovy.ast.expr.Expression asExternalMethodCall(@NonNull String groupName, @NonNull org.codehaus.groovy.ast.ClassNode returnType, @NonNull org.codehaus.groovy.ast.expr.Expression expression) -
asExternalMethodCall
@NonNull public org.codehaus.groovy.ast.expr.Expression asExternalMethodCall(@NonNull String groupName, @NonNull org.codehaus.groovy.ast.ClassNode returnType, @NonNull org.codehaus.groovy.ast.stmt.Statement methodBody)
-