Package org.spockframework.builder
Class ClosureBlueprint
- java.lang.Object
-
- org.spockframework.builder.ClosureBlueprint
-
- All Implemented Interfaces:
IBlueprint
public class ClosureBlueprint extends java.lang.Object implements IBlueprint
-
-
Constructor Summary
Constructors Constructor Description ClosureBlueprint(groovy.lang.Closure closure, java.lang.Object subject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidevaluate()java.lang.ObjectgetThisObject()voidsetDelegate(java.lang.Object delegate)
-
-
-
Method Detail
-
getThisObject
public java.lang.Object getThisObject()
- Specified by:
getThisObjectin interfaceIBlueprint
-
setDelegate
public void setDelegate(java.lang.Object delegate)
- Specified by:
setDelegatein interfaceIBlueprint
-
evaluate
public void evaluate()
- Specified by:
evaluatein interfaceIBlueprint
-
-