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) voidsetProperty(String property, Object newValue) Methods inherited from class groovy.lang.Script
evaluate, evaluate, getBinding, print, printf, printf, println, println, run, run, setBindingMethods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
-
Constructor Details
-
DelegatingScript
public DelegatingScript()
-
-
Method Details
-
$setDelegate
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject- Overrides:
getPropertyin classgroovy.lang.Script
-
setProperty
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject- Overrides:
setPropertyin classgroovy.lang.Script
-
invokeMethod
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classgroovy.lang.Script
-