public static class

ActionConfiguration.Entry

extends Object
java.lang.Object
   ↳ com.atlassian.jira.config.webwork.actions.ActionConfiguration.Entry

Class Overview

An entry providing the webwork configuration for an action alias. The entry contains the action class, the command, and any permissions required in order to execute the action.

Summary

Nested Classes
class ActionConfiguration.Entry.EntryBuilder  
Public Constructors
ActionConfiguration.Entry(String name, String command, Iterable<Integer> permissionsRequired, ActionInfo actionInfo)
Public Methods
ActionInfo getActionInfo()
Iterable<Integer> getPermissionsRequired()
Returns a list of permissions required for the action.
static ActionConfiguration.Entry.EntryBuilder newBuilder()
String toActionFactoryString()
Returns a String representing this action configuration entry if the format expected by the action factory chain, i.e.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ActionConfiguration.Entry (String name, String command, Iterable<Integer> permissionsRequired, ActionInfo actionInfo)

Public Methods

public ActionInfo getActionInfo ()

Returns

public Iterable<Integer> getPermissionsRequired ()

Returns a list of permissions required for the action.

Returns
  • a list of permissions required for the action.

public static ActionConfiguration.Entry.EntryBuilder newBuilder ()

public String toActionFactoryString ()

Returns a String representing this action configuration entry if the format expected by the action factory chain, i.e. ManageSubTasks!enableSubTasks where ManageSubTasks is the action class name and enableSubTasks is the command method. If no command method is supplied, then the string will only contain the action name, i.e. ViewProjects.

Returns
  • the action factory string