org.apache.struts2.convention

## Class AbstractActionNameBuilder

- java.lang.Object
- - org.apache.struts2.convention.AbstractActionNameBuilder

- All Implemented Interfaces:
    ActionNameBuilder
  Direct Known Subclasses:
    DefaultActionNameBuilder, SEOActionNameBuilder

      public abstract class AbstractActionNameBuilder
      extends Object
      implements ActionNameBuilder

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractActionNameBuilder()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `checkActionName(String actionName)`
    `void` | `setActionSuffix(String actionSuffix)`
    `protected String` | `truncateSuffixIfMatches(String name)`

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

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

    - ### Methods inherited from interface org.apache.struts2.convention.ActionNameBuilder

      `build`

- - ### Constructor Detail

    - #### AbstractActionNameBuilder

          public AbstractActionNameBuilder()

  - ### Method Detail

    - #### setActionSuffix

          public void setActionSuffix(String actionSuffix)

      Parameters:
        `actionSuffix` - (Optional) Classes that end with these value will be mapped as actions (defaults to "Action")

    - #### checkActionName

          protected void checkActionName(String actionName)

    - #### truncateSuffixIfMatches

          protected String truncateSuffixIfMatches(String name)

Copyright © 2000–2022 Apache Software Foundation. All rights reserved.