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 void
evaluate()
java.lang.Object
getThisObject()
void
setDelegate(java.lang.Object delegate)
-
-
-
Method Detail
-
getThisObject
public java.lang.Object getThisObject()
- Specified by:
getThisObject
in interfaceIBlueprint
-
setDelegate
public void setDelegate(java.lang.Object delegate)
- Specified by:
setDelegate
in interfaceIBlueprint
-
evaluate
public void evaluate()
- Specified by:
evaluate
in interfaceIBlueprint
-
-