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 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 interface groovy.lang.GroovyObject
    • setMetaClass

      public void setMetaClass(groovy.lang.MetaClass mc)
      Specified by:
      setMetaClass in interface groovy.lang.GroovyObject
    • invokeMethod

      public Object invokeMethod(String method, Object arguments)
      Specified by:
      invokeMethod in interface groovy.lang.GroovyObject
    • getProperty

      public Object getProperty(String property)
      Specified by:
      getProperty in interface groovy.lang.GroovyObject
    • setProperty

      public void setProperty(String property, Object value)
      Specified by:
      setProperty in interface groovy.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)