Class BlockStatementMatch
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.parser.BlockStatementMatch
- All Implemented Interfaces:
groovy.lang.GroovyObject
-
Constructor Summary
ConstructorDescriptionBlockStatementMatch
(org.codehaus.groovy.ast.expr.MethodCallExpression whole, String methodName, org.codehaus.groovy.ast.expr.ClosureExpression body) -
Method Summary
Modifier and TypeMethodDescriptionorg.codehaus.groovy.ast.expr.Expression
getArgument
(int i) final org.codehaus.groovy.ast.expr.TupleExpression
final org.codehaus.groovy.ast.expr.ClosureExpression
getBody()
groovy.lang.MetaClass
final String
getProperty
(String property) final org.codehaus.groovy.ast.expr.MethodCallExpression
getWhole()
invokeMethod
(String method, Object arguments) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value)
-
Constructor Details
-
BlockStatementMatch
public BlockStatementMatch(org.codehaus.groovy.ast.expr.MethodCallExpression whole, String methodName, org.codehaus.groovy.ast.expr.ClosureExpression body)
-
-
Method Details
-
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
-
getWhole
public final org.codehaus.groovy.ast.expr.MethodCallExpression getWhole() -
getMethodName
-
getArguments
public final org.codehaus.groovy.ast.expr.TupleExpression getArguments() -
getBody
public final org.codehaus.groovy.ast.expr.ClosureExpression getBody() -
getArgument
@Nullable public org.codehaus.groovy.ast.expr.Expression getArgument(int i)
-