org.apache.turbine.modules.actions
Class VelocityActionDoesNothing
java.lang.Object
org.apache.turbine.modules.Assembler
org.apache.turbine.modules.Action
org.apache.turbine.modules.ActionEvent
org.apache.turbine.util.velocity.VelocityActionEvent
org.apache.turbine.modules.actions.VelocityAction
org.apache.turbine.modules.actions.VelocityActionDoesNothing
public class VelocityActionDoesNothing
- extends VelocityAction
This action is used in testing the ExecutePageValve by the ExecutePageValveTest.
- Author:
- Eric Pugh, Peter Courcoux
Method Summary |
void |
doPerform(PipelineData pipelineData,
org.apache.velocity.context.Context context)
Default action is throw an exception. |
void |
doPerform(RunData data,
org.apache.velocity.context.Context context)
Default action is throw an exception. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numberOfCalls
public static int numberOfCalls
runDataCalls
public static int runDataCalls
pipelineDataCalls
public static int pipelineDataCalls
VelocityActionDoesNothing
public VelocityActionDoesNothing()
doPerform
public void doPerform(RunData data,
org.apache.velocity.context.Context context)
throws Exception
- Default action is throw an exception.
- Specified by:
doPerform
in class VelocityAction
- Parameters:
data
- Current RunData informationcontext
- Context to populate
- Throws:
Exception
- Thrown on error
doPerform
public void doPerform(PipelineData pipelineData,
org.apache.velocity.context.Context context)
throws Exception
- Default action is throw an exception.
- Overrides:
doPerform
in class VelocityAction
- Parameters:
data
- Current RunData informationcontext
- Context to populate
- Throws:
Exception
- Thrown on error
Copyright © 2000-2011 The Apache Software Foundation. All Rights Reserved.