| Constructor and Description |
|---|
RolesImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData) |
RolesImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
int logIndentLevel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProjectRoleForUser(String projectName,
String roleName,
String userName)
Adds a project role for a particular user.
|
void |
create(String name,
String description)
Creates a project role with the specified name and description.
|
void |
delete(long roleId)
Deletes a project role with the specified id.
|
void |
delete(String name)
Deletes a project role with the specified name.
|
RoleDetails |
edit(String name)
Allows editing of a project role's details.
|
public RolesImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
int logIndentLevel)
@Inject
public RolesImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData)
public void delete(long roleId)
Rolespublic void delete(String name)
Rolespublic void create(String name, String description)
Rolespublic RoleDetails edit(String name)
Rolesedit in interface Rolesname - The name of the project role to edit.RoleDetails which allows to set the properties
(i.e. name, description ...) of the project role in play.public void addProjectRoleForUser(String projectName, String roleName, String userName)
RolesaddProjectRoleForUser in interface RolesprojectName - the name of the project.roleName - the name of the role to add.userName - the name of the user.Copyright © 2002-2018 Atlassian. All Rights Reserved.