Class Turbine2LegacyAction
- java.lang.Object
-
- org.apache.turbine.modules.ActionEvent
-
- org.apache.turbine.util.velocity.VelocityActionEvent
-
- org.apache.turbine.modules.actions.VelocityAction
-
- org.apache.turbine.modules.actions.LegacyVelocityAction
-
- org.apache.turbine.modules.actions.Turbine2LegacyAction
-
public class Turbine2LegacyAction extends LegacyVelocityAction
This action is used for testing the Turbine 2 Legacy method signatures.- Author:
- Thomas Vandahl
-
-
Field Summary
Fields Modifier and Type Field Description static int
numberOfCalls
-
Fields inherited from class org.apache.turbine.util.velocity.VelocityActionEvent
initialized, velocity
-
Fields inherited from class org.apache.turbine.modules.ActionEvent
bubbleUpException, BUTTON, BUTTON_LENGTH, DEFAULT_METHOD, LENGTH, log, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX
-
Fields inherited from interface org.apache.turbine.modules.Action
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX
-
-
Constructor Summary
Constructors Constructor Description Turbine2LegacyAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doPerform(RunData data, org.apache.velocity.context.Context context)
Default action is throw an exception.-
Methods inherited from class org.apache.turbine.modules.actions.LegacyVelocityAction
doPerform, doPerform
-
Methods inherited from class org.apache.turbine.modules.actions.VelocityAction
initialize, perform, setTemplate
-
Methods inherited from class org.apache.turbine.modules.ActionEvent
considerKey, executeEvents, formatString, getMethod
-
-
-
-
Field Detail
-
numberOfCalls
public static int numberOfCalls
-
-
Constructor Detail
-
Turbine2LegacyAction
public Turbine2LegacyAction()
-
-
Method Detail
-
doPerform
public void doPerform(RunData data, org.apache.velocity.context.Context context) throws Exception
Default action is throw an exception.- Specified by:
doPerform
in classLegacyVelocityAction
- Parameters:
data
- Current RunData informationcontext
- Context to populate- Throws:
Exception
- Thrown on error
-
-