Package org.apache.struts2.convention

# Interface InterceptorMapBuilder

All Known Implementing Classes:
  `DefaultInterceptorMapBuilder`

public interface InterceptorMapBuilder

This interface defines how interceptors are built from annotations.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<InterceptorMapping>`
  `build(Class<?> actionClass, PackageConfig.Builder builder, String actionName, Action annotation)`
  Builds the interceptor configurations given the action information.

- ## Method Details

  - ### build

    List<InterceptorMapping> build(Class<?> actionClass, PackageConfig.Builder builder, String actionName, Action annotation)
    Builds the interceptor configurations given the action information.
    Parameters:
      `actionClass` - The class of the action.
      `annotation` - The action annotation.
      `actionName` - The action name.
      `builder` - The package configuration builder.
    Returns:
      The mapping of the interceptors. If there were none found then this should return an empty List.