public abstract class VelocityActionEvent extends ActionEvent
doEvent(RunData data, Context context)
It gets the context from the TemplateInfo.getTemplateContext() method. If it can't find a method like that, then it will try to execute the method without the Context in it.
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
initialized
Indicates whether or not this module has been initialized.
|
bubbleUpException, BUTTON, BUTTON_LENGTH, DEFAULT_METHOD, LENGTH, log, METHOD_NAME_LENGTH, METHOD_NAME_PREFIXCACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX| Constructor and Description |
|---|
VelocityActionEvent() |
| Modifier and Type | Method and Description |
|---|---|
void |
doPerform(PipelineData pipelineData)
This overrides the default Action.doPerform() to execute the
doEvent() method.
|
protected abstract void |
initialize()
Provides a means of initializing the module.
|
considerKey, executeEvents, formatString, getMethodgetRunDataprotected boolean initialized
public VelocityActionEvent()
protected abstract void initialize() throws Exception
Exception - a generic exception.public void doPerform(PipelineData pipelineData) throws Exception
doPerform in class ActionEventpipelineData - A Turbine RunData object.Exception - a generic exception.Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.