Class PipelineStepFinder

java.lang.Object
org.codehaus.groovy.ast.CodeVisitorSupport
org.jenkinsci.plugins.pipeline.modeldefinition.parser.PipelineStepFinder
All Implemented Interfaces:
groovy.lang.GroovyObject, org.codehaus.groovy.ast.GroovyCodeVisitor

public class PipelineStepFinder extends org.codehaus.groovy.ast.CodeVisitorSupport implements groovy.lang.GroovyObject
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    groovy.lang.MetaClass
     
    List<org.codehaus.groovy.ast.stmt.Statement>
     
    getProperty(String property)
     
    invokeMethod(String method, Object arguments)
     
    void
    setMetaClass(groovy.lang.MetaClass mc)
     
    void
    setPipelineSteps(List<org.codehaus.groovy.ast.stmt.Statement> value)
     
    void
    setProperty(String property, Object value)
     
    void
    visitExpressionStatement(org.codehaus.groovy.ast.stmt.ExpressionStatement exprStmt)
     

    Methods inherited from class org.codehaus.groovy.ast.CodeVisitorSupport

    visitArgumentlistExpression, visitArrayExpression, visitAssertStatement, visitAttributeExpression, visitBinaryExpression, visitBitwiseNegationExpression, visitBlockStatement, visitBooleanExpression, visitBreakStatement, visitBytecodeExpression, visitCaseStatement, visitCastExpression, visitCatchStatement, visitClassExpression, visitClosureExpression, visitClosureListExpression, visitConstantExpression, visitConstructorCallExpression, visitContinueStatement, visitDeclarationExpression, visitDoWhileLoop, visitEmptyStatement, visitFieldExpression, visitForLoop, visitGStringExpression, visitIfElse, visitListExpression, visitListOfExpressions, visitMapEntryExpression, visitMapExpression, visitMethodCallExpression, visitMethodPointerExpression, visitNotExpression, visitPostfixExpression, visitPrefixExpression, visitPropertyExpression, visitRangeExpression, visitReturnStatement, visitShortTernaryExpression, visitSpreadExpression, visitSpreadMapExpression, visitStaticMethodCallExpression, visitSwitch, visitSynchronizedStatement, visitTernaryExpression, visitThrowStatement, visitTryCatchFinally, visitTupleExpression, visitUnaryMinusExpression, visitUnaryPlusExpression, visitVariableExpression, visitWhileLoop

    Methods inherited from class java.lang.Object

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

    • PipelineStepFinder

      public PipelineStepFinder()
  • Method Details

    • 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
    • getPipelineSteps

      public List<org.codehaus.groovy.ast.stmt.Statement> getPipelineSteps()
    • setPipelineSteps

      public void setPipelineSteps(List<org.codehaus.groovy.ast.stmt.Statement> value)
    • visitExpressionStatement

      public void visitExpressionStatement(org.codehaus.groovy.ast.stmt.ExpressionStatement exprStmt)
      Specified by:
      visitExpressionStatement in interface org.codehaus.groovy.ast.GroovyCodeVisitor
      Overrides:
      visitExpressionStatement in class org.codehaus.groovy.ast.CodeVisitorSupport