com.atlassian.jira.config.webwork.actions
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
static class ActionConfiguration.Entry
          An entry providing the webwork configuration for an action alias.
static class ActionConfiguration.FromWebWorkConfiguration
          Retrieves the web action configuration through the webwork Configuration object.
 
Method Summary
 ActionConfiguration.Entry getActionCommand(String alias)
          Returns an action configuration ActionConfiguration.Entry describing the action to be executed for a given alias by querying the current configuration.
 

Method Detail

getActionCommand

ActionConfiguration.Entry getActionCommand(String alias)
Returns an action configuration ActionConfiguration.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.



Copyright © 2002-2013 Atlassian. All Rights Reserved.