com.atlassian.jira.config.webwork.actions
Class ActionConfiguration.Entry.EntryBuilder

java.lang.Object
  extended by com.atlassian.jira.config.webwork.actions.ActionConfiguration.Entry.EntryBuilder
Enclosing class:
ActionConfiguration.Entry

public static class ActionConfiguration.Entry.EntryBuilder
extends Object


Constructor Summary
ActionConfiguration.Entry.EntryBuilder()
           
 
Method Summary
 ActionConfiguration.Entry build()
           
 ActionConfiguration.Entry.EntryBuilder className(String name)
           
 ActionConfiguration.Entry.EntryBuilder commandMethod(String command)
           
 ActionConfiguration.Entry.EntryBuilder rolesRequired(String rolesRequired)
          Supplies a comma-separated list of the roles that are required to execute this action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionConfiguration.Entry.EntryBuilder

public ActionConfiguration.Entry.EntryBuilder()
Method Detail

className

public ActionConfiguration.Entry.EntryBuilder className(String name)

commandMethod

public ActionConfiguration.Entry.EntryBuilder commandMethod(String command)

rolesRequired

public ActionConfiguration.Entry.EntryBuilder rolesRequired(String rolesRequired)
Supplies a comma-separated list of the roles that are required to execute this action. When multiple roles are given, they are all required. When build() is invoked, this list of roles is transformed to a list of integer permissions as specified by Permissions.getType(String).

Parameters:
rolesRequired - a comma-separated string containing the required roles
Returns:
this

build

public ActionConfiguration.Entry build()


Copyright © 2002-2013 Atlassian. All Rights Reserved.