com.atlassian.jira.config.webwork.actions
Class ActionConfiguration.FromWebWorkConfiguration

java.lang.Object
  extended by com.atlassian.jira.config.webwork.actions.ActionConfiguration.FromWebWorkConfiguration
All Implemented Interfaces:
ActionConfiguration
Enclosing interface:
ActionConfiguration

public static class ActionConfiguration.FromWebWorkConfiguration
extends Object
implements ActionConfiguration

Retrieves the web action configuration through the webwork Configuration object.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.config.webwork.actions.ActionConfiguration
ActionConfiguration.Entry, ActionConfiguration.FromWebWorkConfiguration
 
Constructor Summary
ActionConfiguration.FromWebWorkConfiguration()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionConfiguration.FromWebWorkConfiguration

public ActionConfiguration.FromWebWorkConfiguration()
Method Detail

getActionCommand

@Nullable
public ActionConfiguration.Entry getActionCommand(String alias)
Description copied from interface: ActionConfiguration
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.

Specified by:
getActionCommand in interface ActionConfiguration
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.