org.apache.struts2.convention

## Interface ResultMapBuilder

- All Known Implementing Classes:
    DefaultResultMapBuilder

      public interface ResultMapBuilder

  This interface defines how results are constructed for an Action. The action information is supplied and the result is a mapping of ResultConfig instances to the result name.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,ResultConfig>` | `build(Class<?> actionClass, Action annotation, String actionName, PackageConfig packageConfig)` Builds the result configurations given the action information.

- - ### Method Detail

    - #### build

          Map<String,ResultConfig> build(Class<?> actionClass,
                                       Action annotation,
                                       String actionName,
                                       PackageConfig packageConfig)

      Builds the result configurations given the action information.
      Parameters:
        `actionClass` - The class of the action.
        `annotation` - The action annotation.
        `actionName` - The action name.
        `packageConfig` - The package configuration that the action will be added to.
      Returns:
        The mapping of the result names to the result configurations. If there were none found than this should return an empty Map.

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