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.
| 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.
|
Map<String,ResultConfig> build(Class<?> actionClass, Action annotation, String actionName, PackageConfig packageConfig)
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.Copyright © 2000–2016 Apache Software Foundation. All rights reserved.