Class RuntimeASTTransformer

java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.parser.RuntimeASTTransformer
All Implemented Interfaces:
groovy.lang.GroovyObject

public class RuntimeASTTransformer extends Object implements groovy.lang.GroovyObject
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static boolean
     
    static boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    groovy.lang.MetaClass
     
    getProperty(String property)
     
     
    final org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhen
    handleInvisibleWhenConditions(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhen when, String stageName, org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStageBase stage)
     
    invokeMethod(String method, Object arguments)
     
    void
    setMetaClass(groovy.lang.MetaClass mc)
     
    void
    setProperty(String property, Object value)
     
    void
     
    org.codehaus.groovy.ast.expr.ArgumentListExpression
    transform(org.codehaus.groovy.control.SourceUnit sourceUnit, org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef pipelineDef, Run<?,?> run)
     
    org.codehaus.groovy.ast.expr.Expression
    transformAgent(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTAgent original)
     
    org.codehaus.groovy.ast.expr.Expression
    transformBuildConditionsContainer(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildConditionsContainer original, Class container)
     
    org.codehaus.groovy.ast.expr.Expression
    transformEnvironment(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTEnvironment original)
     
    org.codehaus.groovy.ast.expr.Expression
    transformEnvironmentMap(Map<org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTKey,org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTEnvironmentValue> variables)
     
    org.codehaus.groovy.ast.expr.Expression
    transformEnvironmentMap(Map<org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTKey,org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTEnvironmentValue> variables, boolean disableWrapping)
     
    org.codehaus.groovy.ast.expr.Expression
    transformLibraries(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTLibraries original)
     
    org.codehaus.groovy.ast.expr.Expression
    transformMatrix(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTMatrix original)
     
    org.codehaus.groovy.ast.expr.Expression
    transformMatrixStage(Map<org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTKey,org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTValue> cell, org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTMatrix original, org.codehaus.groovy.ast.expr.Expression stagesExpression)
     
    org.codehaus.groovy.ast.expr.Expression
    transformOptions(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTOptions original)
     
    org.codehaus.groovy.ast.expr.Expression
    transformParameters(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildParameters original)
     
    org.codehaus.groovy.ast.expr.Expression
    transformPostBuild(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPostBuild original)
     
    org.codehaus.groovy.ast.expr.Expression
    transformPostStage(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPostStage original)
     
    org.codehaus.groovy.ast.expr.Expression
    transformRoot(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef original)
     
    org.codehaus.groovy.ast.expr.Expression
    transformStage(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStage original)
     
    org.codehaus.groovy.ast.expr.Expression
    transformStageConditionals(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhen original, String stageName, org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStageBase stage)
     
    org.codehaus.groovy.ast.expr.Expression
    transformStageInput(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStageInput original, String stageName)
     
    org.codehaus.groovy.ast.expr.Expression
    transformStages(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStages original)
     
    org.codehaus.groovy.ast.expr.Expression
    transformStepsFromBuildCondition(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildCondition original)
     
    org.codehaus.groovy.ast.expr.Expression
    transformStepsFromStage(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStage original)
     
    org.codehaus.groovy.ast.expr.Expression
    transformTools(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTTools original)
     
    org.codehaus.groovy.ast.expr.Expression
    transformTriggers(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTTriggers original)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SCRIPT_SPLITTING_TRANSFORMATION

      public static boolean SCRIPT_SPLITTING_TRANSFORMATION
    • SCRIPT_SPLITTING_ALLOW_LOCAL_VARIABLES

      public static boolean SCRIPT_SPLITTING_ALLOW_LOCAL_VARIABLES
  • Constructor Details

    • RuntimeASTTransformer

      public RuntimeASTTransformer()
  • Method Details

    • transformEnvironmentMap

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformEnvironmentMap(@NonNull Map<org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTKey,org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTEnvironmentValue> variables)
    • 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
    • getWrapper

      public RuntimeASTTransformer.Wrapper getWrapper()
    • setWrapper

      public void setWrapper(RuntimeASTTransformer.Wrapper value)
    • transform

      @NonNull public org.codehaus.groovy.ast.expr.ArgumentListExpression transform(@NonNull org.codehaus.groovy.control.SourceUnit sourceUnit, @NonNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef pipelineDef, @CheckForNull Run<?,?> run)
    • transformBuildConditionsContainer

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformBuildConditionsContainer(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildConditionsContainer original, @NonNull Class container)
    • transformAgent

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformAgent(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTAgent original)
    • transformEnvironment

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformEnvironment(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTEnvironment original)
    • transformEnvironmentMap

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformEnvironmentMap(@NonNull Map<org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTKey,org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTEnvironmentValue> variables, boolean disableWrapping)
    • transformLibraries

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformLibraries(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTLibraries original)
    • transformOptions

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformOptions(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTOptions original)
    • transformParameters

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformParameters(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildParameters original)
    • transformPostBuild

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformPostBuild(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPostBuild original)
    • transformPostStage

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformPostStage(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPostStage original)
    • transformRoot

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformRoot(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef original)
    • transformStage

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformStage(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStage original)
    • transformStageInput

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformStageInput(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStageInput original, String stageName)
    • transformStageConditionals

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformStageConditionals(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhen original, String stageName, org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStageBase stage)
    • handleInvisibleWhenConditions

      @CheckForNull public final org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhen handleInvisibleWhenConditions(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhen when, String stageName, org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStageBase stage)
    • transformStages

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformStages(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStages original)
    • transformMatrix

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformMatrix(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTMatrix original)
    • transformMatrixStage

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformMatrixStage(@CheckForNull Map<org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTKey,org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTValue> cell, @NonNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTMatrix original, @CheckForNull org.codehaus.groovy.ast.expr.Expression stagesExpression)
    • transformStepsFromStage

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformStepsFromStage(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStage original)
    • transformStepsFromBuildCondition

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformStepsFromBuildCondition(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildCondition original)
    • transformTools

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformTools(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTTools original)
    • transformTriggers

      @NonNull public org.codehaus.groovy.ast.expr.Expression transformTriggers(@CheckForNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTTriggers original)