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 IBlueprint
getBlueprint()
java.lang.Object
getProperty(java.lang.String name)
java.lang.Object
getSubject()
java.lang.Object
invokeMethod(java.lang.String name, java.lang.Object[] args)
void
setProperty(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:
getBlueprint
in interfaceIGestalt
-
getProperty
public java.lang.Object getProperty(java.lang.String name)
- Specified by:
getProperty
in interfaceIGestalt
-
setProperty
public void setProperty(java.lang.String name, java.lang.Object value)
- Specified by:
setProperty
in interfaceIGestalt
-
invokeMethod
public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object[] args)
- Specified by:
invokeMethod
in interfaceIGestalt
-
-