org.apache.tapestry.test
Class CreatePropertyWorker

java.lang.Object
  extended byorg.apache.tapestry.test.CreatePropertyWorker
All Implemented Interfaces:
EnhancementWorker

public class CreatePropertyWorker
extends java.lang.Object
implements EnhancementWorker

Forces the creation of a property, overrriding an existing implementation. Allows test code to set the specification and messages properties of components.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
CreatePropertyWorker(java.lang.String propertyName, org.apache.hivemind.Location location)
           
 
Method Summary
 void performEnhancement(EnhancementOperation op, IComponentSpecification spec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreatePropertyWorker

public CreatePropertyWorker(java.lang.String propertyName,
                            org.apache.hivemind.Location location)
Method Detail

performEnhancement

public void performEnhancement(EnhancementOperation op,
                               IComponentSpecification spec)
Specified by:
performEnhancement in interface EnhancementWorker