org.apache.tapestry.test
Class CreatePropertyWorker

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

public class CreatePropertyWorker
extends 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(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(String propertyName,
                            org.apache.hivemind.Location location)
Method Detail

performEnhancement

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


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.