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

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `actionEventCalls`
    `static int` | `numberOfCalls`
    `static int` | `pipelineDataCalls`

    - ### 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, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX`

    - ### Fields inherited from class org.apache.turbine.modules.Action

      `CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `VelocityActionDoesNothing()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `arbitraryMethodName(PipelineData pipelineData, org.apache.velocity.context.Context context)` Annotated action method.
    `void` | `doPerform(PipelineData pipelineData, org.apache.velocity.context.Context context)` Default action is throw an exception.

    - ### Methods inherited from class org.apache.turbine.modules.actions.VelocityAction

      `initialize, perform, setTemplate`

    - ### Methods inherited from class org.apache.turbine.util.velocity.VelocityActionEvent

      `doPerform`

    - ### Methods inherited from class org.apache.turbine.modules.ActionEvent

      `considerKey, executeEvents, formatString, getMethod`

    - ### Methods inherited from class org.apache.turbine.modules.Action

      `getPrefix`

    - ### Methods inherited from class org.apache.turbine.modules.Assembler

      `getRunData`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### numberOfCalls

          public static int numberOfCalls

    - #### pipelineDataCalls

          public static int pipelineDataCalls

    - #### actionEventCalls

          public static int actionEventCalls

  - ### Constructor Detail

    - #### VelocityActionDoesNothing

          public VelocityActionDoesNothing()

  - ### Method Detail

    - #### doPerform

          public void doPerform(PipelineData pipelineData,
                       org.apache.velocity.context.Context context)
                         throws Exception

      Default action is throw an exception.
      Specified by:
        `doPerform` in class `VelocityAction`
      Parameters:
        `pipelineData` - Current RunData information
        `context` - Context to populate
      Throws:
        `Exception` - Thrown on error

    - #### arbitraryMethodName

          public void arbitraryMethodName(PipelineData pipelineData,
                                 org.apache.velocity.context.Context context)
                                   throws Exception

      Annotated action method.
      Parameters:
        `pipelineData` - Current RunData information
        `context` - Context to populate
      Throws:
        `Exception` - Thrown on error

Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.