public static class ActionConfiguration.Entry.EntryBuilder extends Object
Constructor and Description |
---|
EntryBuilder() |
Modifier and Type | Method and Description |
---|---|
ActionConfiguration.Entry.EntryBuilder |
actionInfo(webwork.config.util.ActionInfo actionInfo) |
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.
|
public ActionConfiguration.Entry.EntryBuilder className(String name)
public ActionConfiguration.Entry.EntryBuilder commandMethod(String command)
public ActionConfiguration.Entry.EntryBuilder rolesRequired(String rolesRequired)
build()
is invoked, this list of
roles is transformed to a list of integer permissions as specified by Permissions.getType(String)
.rolesRequired
- a comma-separated string containing the required rolesthis
public ActionConfiguration.Entry.EntryBuilder actionInfo(webwork.config.util.ActionInfo actionInfo)
public ActionConfiguration.Entry build()
Copyright © 2002-2019 Atlassian. All Rights Reserved.