## Uses of Class
org.apache.struts2.convention.annotation.Action

- Packages that use Action
  Package | Description
  --- | ---
  org.apache.struts2.convention |

- - ### Uses of Action in org.apache.struts2.convention

    Methods in org.apache.struts2.convention that return types with arguments of type Action
    Modifier and Type | Method and Description
    --- | ---
    `protected List<Action>` | PackageBasedActionConfigBuilder.`checkActionsAnnotation(Actions actionsAnnotation)` Builds a list of actions from an @Actions annotation, and check that they are not all empty
    `protected Map<String,List<Action>>` | PackageBasedActionConfigBuilder.`getActionAnnotations(Class<?> actionClass)` Locates all of the `Actions` and `Action` annotations on methods within the Action class and its parent classes.

    Methods in org.apache.struts2.convention with parameters of type Action
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,ResultConfig>` | DefaultResultMapBuilder.`build(Class<?> actionClass, Action annotation, String actionName, PackageConfig packageConfig)` Builds the result configurations given the action information.
    `Map<String,ResultConfig>` | ResultMapBuilder.`build(Class<?> actionClass, Action annotation, String actionName, PackageConfig packageConfig)` Builds the result configurations given the action information.
    `List<InterceptorMapping>` | DefaultInterceptorMapBuilder.`build(Class<?> actionClass, PackageConfig.Builder builder, String actionName, Action annotation)`
    `List<InterceptorMapping>` | InterceptorMapBuilder.`build(Class<?> actionClass, PackageConfig.Builder builder, String actionName, Action annotation)` Builds the interceptor configurations given the action information.
    `protected void` | PackageBasedActionConfigBuilder.`createActionConfig(PackageConfig.Builder pkgCfg, Class<?> actionClass, String actionName, String actionMethod, Action annotation, Set<String> allowedMethods)` Creates a single ActionConfig object.
    `protected PackageConfig.Builder` | PackageBasedActionConfigBuilder.`getPackageConfig(Map<String,PackageConfig.Builder> packageConfigs, String actionNamespace, String actionPackage, Class<?> actionClass, Action action)`
    `protected boolean` | PackageBasedActionConfigBuilder.`shouldMapDefaultExecuteMethod(Map<String,List<Action>> actionAnnotationsByMethod, boolean hasDefaultMethod, Action classAction, Actions classActions)` Determines whether the default `execute()` method should be automatically mapped as an action.

    Method parameters in org.apache.struts2.convention with type arguments of type Action
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | PackageBasedActionConfigBuilder.`shouldMapDefaultExecuteMethod(Map<String,List<Action>> actionAnnotationsByMethod, boolean hasDefaultMethod, Action classAction, Actions classActions)` Determines whether the default `execute()` method should be automatically mapped as an action.

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