Package org.spockframework.builder
Class DelegatingScript
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Script
org.spockframework.builder.DelegatingScript
- All Implemented Interfaces:
groovy.lang.GroovyObject
public abstract class DelegatingScript
extends groovy.lang.Script
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
$setDelegate
(Object delegate) getProperty
(String property) invokeMethod
(String name, Object args) void
setProperty
(String property, Object newValue) Methods inherited from class groovy.lang.Script
evaluate, evaluate, getBinding, print, printf, printf, println, println, run, run, setBinding
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
-
Constructor Details
-
DelegatingScript
public DelegatingScript()
-
-
Method Details
-
$setDelegate
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
getProperty
in classgroovy.lang.Script
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
setProperty
in classgroovy.lang.Script
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
- Overrides:
invokeMethod
in classgroovy.lang.Script
-