Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`Map<String,com.opensymphony.xwork2.config.entities.ResultConfig>` | `build(Class<?> actionClass, Action annotation, String actionName, com.opensymphony.xwork2.config.entities.PackageConfig packageConfig)` Builds the result configurations given the action information.

Method Detail

### build

    Map<String,com.opensymphony.xwork2.config.entities.ResultConfig> build(Class<?> actionClass,
                                                                           Action annotation,
                                                                           String actionName,
                                                                           com.opensymphony.xwork2.config.entities.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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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