org.spockframework.builder
Class DelegatingScript

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovy.lang.Script
          extended by org.spockframework.builder.DelegatingScript
All Implemented Interfaces:
GroovyObject

public abstract class DelegatingScript
extends Script


Constructor Summary
DelegatingScript()
           
 
Method Summary
 void $setDelegate(Object delegate)
           
 Object getProperty(String property)
           
 Object invokeMethod(String name, Object args)
           
 void setProperty(String property, Object newValue)
           
 
Methods inherited from class groovy.lang.Script
evaluate, evaluate, getBinding, print, 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
 

Constructor Detail

DelegatingScript

public DelegatingScript()
Method Detail

$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.