Class ActionConfiguration.Entry

java.lang.Object
com.atlassian.jira.config.webwork.actions.ActionConfiguration.Entry
Enclosing interface:
ActionConfiguration

public static class ActionConfiguration.Entry extends Object
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.
  • Constructor Details

    • Entry

      public Entry(String name, String command, Iterable<Integer> permissionsRequired, webwork.config.util.ActionInfo actionInfo)
  • Method Details

    • toActionFactoryString

      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
    • newBuilder

      public static ActionConfiguration.Entry.EntryBuilder newBuilder()
    • getPermissionsRequired

      public Iterable<Integer> getPermissionsRequired()
      Returns a list of permissions required for the action.
      Returns:
      a list of permissions required for the action.
    • getActionInfo

      public webwork.config.util.ActionInfo getActionInfo()
      Returns:
      the underlying ActionInfo for this action