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
Method Summary |
void |
$setDelegate(java.lang.Object delegate)
|
java.lang.Object |
getProperty(java.lang.String property)
|
java.lang.Object |
invokeMethod(java.lang.String name,
java.lang.Object args)
|
void |
setProperty(java.lang.String property,
java.lang.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 |
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(java.lang.Object delegate)
getProperty
public java.lang.Object getProperty(java.lang.String property)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
- Overrides:
getProperty
in class groovy.lang.Script
setProperty
public void setProperty(java.lang.String property,
java.lang.Object newValue)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
- Overrides:
setProperty
in class groovy.lang.Script
invokeMethod
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.Object args)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
- Overrides:
invokeMethod
in class groovy.lang.Script
Copyright © 2013. All rights reserved