com.bowstreet.builders.webapp.pageautomation
Interface PageAutomationBuilder


public interface PageAutomationBuilder

Interface that PageAutomation builders have to implement.


Nested Class Summary
static interface PageAutomationBuilder.CommonBuilderInputValues
           
 
Method Summary
 void doBuilderCall(GenContext genContext, AutomationHelper helper, BuilderCall builderCall, BuilderInputs builderInputs)
          doBuilderCall - PageAutomation builders do their regen work here, getting inputs from builderInputs and adding/modifying elements in the PageAutomation contents.
 

Method Detail

doBuilderCall

void doBuilderCall(GenContext genContext,
                   AutomationHelper helper,
                   BuilderCall builderCall,
                   BuilderInputs builderInputs)
doBuilderCall - PageAutomation builders do their regen work here, getting inputs from builderInputs and adding/modifying elements in the PageAutomation contents. Note, this is called during a "Special" phase of the generation and you are NOT allowed to invoke other Builders from this method. This special phase is actually between Construction and PostConstruction phases. You are allowed to inspect and modify the WebApp as you like, but invoking other Builders might cause an exception in the Generation engine. If you need to invoke other Builders, your Builder class should ALSO implement WebAppBuilder, and it should invoke those other Builders during the Construction or PostConstruction phases.

Parameters:
genContext - The GenContext for this regen
helper - the AutomationHelper
builderCall - Use this to set errors, get BuilderDef, etc.
builderInputs - The inputs for this builder call


Copyright © 2009 IBM. All Rights Reserved.