Interface ActionConfiguration
- All Known Implementing Classes:
ActionConfiguration.FromWebWorkConfiguration
public interface ActionConfiguration
Represents the list of web action configuration entries stored in actions.xml
- Since:
- v5.0.7
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
An entry providing the webwork configuration for an action alias.static class
Retrieves the web action configuration through the webworkConfiguration
object. -
Method Summary
Modifier and TypeMethodDescriptiongetActionCommand
(String alias) Returns an action configurationActionConfiguration.Entry
describing the action to be executed for a given alias by querying the current configuration.
-
Method Details
-
getActionCommand
Returns an action configurationActionConfiguration.Entry
describing the action to be executed for a given alias by querying the current configuration. If there is no explicit alias defined for an action in the configuration, we consider that the alias for that action is the action's name.- Parameters:
alias
- The alias to use to lookup the action configuration entry.- Returns:
- An action configuration entry instance specifying the action, command, and permissions required to
execute it.
If there's no entry for the specified alias
null
is returned.
-