com.atlassian.jira.config.webwork.actions
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionConfiguration.Entry
public ActionConfiguration.Entry(String name,
String command,
Iterable<Integer> permissionsRequired,
webwork.config.util.ActionInfo actionInfo)
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
Copyright © 2002-2014 Atlassian. All Rights Reserved.