Package org.spockframework.builder
Class PojoGestalt
- java.lang.Object
-
- org.spockframework.builder.PojoGestalt
-
-
Constructor Summary
Constructors Constructor Description PojoGestalt(java.lang.Object pojo, java.lang.reflect.Type pojoType, IBlueprint blueprint, java.util.List<ISlotFactory> slotFactories)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IBlueprintgetBlueprint()java.lang.ObjectgetProperty(java.lang.String name)java.lang.ObjectgetSubject()java.lang.ObjectinvokeMethod(java.lang.String name, java.lang.Object[] args)voidsetProperty(java.lang.String name, java.lang.Object value)
-
-
-
Constructor Detail
-
PojoGestalt
public PojoGestalt(java.lang.Object pojo, java.lang.reflect.Type pojoType, IBlueprint blueprint, java.util.List<ISlotFactory> slotFactories)
-
-
Method Detail
-
getSubject
public java.lang.Object getSubject()
-
getBlueprint
public IBlueprint getBlueprint()
- Specified by:
getBlueprintin interfaceIGestalt
-
getProperty
public java.lang.Object getProperty(java.lang.String name)
- Specified by:
getPropertyin interfaceIGestalt
-
setProperty
public void setProperty(java.lang.String name, java.lang.Object value)- Specified by:
setPropertyin interfaceIGestalt
-
invokeMethod
public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object[] args)- Specified by:
invokeMethodin interfaceIGestalt
-
-