org.spockframework.builder
Class DelegatingScript
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Script
org.spockframework.builder.DelegatingScript
- All Implemented Interfaces:
- GroovyObject
public abstract class DelegatingScript
- extends Script
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingScript
public DelegatingScript()
$setDelegate
public void $setDelegate(Object delegate)
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interface GroovyObject
- Overrides:
getProperty
in class Script
setProperty
public void setProperty(String property,
Object newValue)
- Specified by:
setProperty
in interface GroovyObject
- Overrides:
setProperty
in class Script
invokeMethod
public Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod
in interface GroovyObject
- Overrides:
invokeMethod
in class Script
Copyright © 2010. All Rights Reserved.