org.spockframework.builder
Class ClosureBlueprint

java.lang.Object
  extended by org.spockframework.builder.ClosureBlueprint
All Implemented Interfaces:
IBlueprint

public class ClosureBlueprint
extends java.lang.Object
implements IBlueprint


Constructor Summary
ClosureBlueprint(groovy.lang.Closure closure, java.lang.Object subject)
           
 
Method Summary
 void evaluate()
           
 java.lang.Object getThisObject()
           
 void setDelegate(java.lang.Object delegate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClosureBlueprint

public ClosureBlueprint(groovy.lang.Closure closure,
                        java.lang.Object subject)
Method Detail

getThisObject

public java.lang.Object getThisObject()
Specified by:
getThisObject in interface IBlueprint

setDelegate

public void setDelegate(java.lang.Object delegate)
Specified by:
setDelegate in interface IBlueprint

evaluate

public void evaluate()
Specified by:
evaluate in interface IBlueprint


Copyright © 2013. All rights reserved