public class MockGroupRoleActor extends MockRoleActor
GROUP_ROLE_ACTOR_TYPE, USER_ROLE_ACTOR_TYPE
Constructor and Description |
---|
MockGroupRoleActor(Long projectRoleId,
Long projectId,
com.atlassian.crowd.embedded.api.Group group) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(ApplicationUser user)
Does this RoleActor contain the specified user.
|
SortedSet<ApplicationUser> |
getUsers()
Will provide a Set of users encapsulated by this RoleActor.
|
equals, getDescriptor, getId, getParameter, getPrettyName, getProjectId, getProjectRoleId, getType, hashCode, isActive
public SortedSet<ApplicationUser> getUsers()
RoleActor
getUsers
in interface RoleActor
getUsers
in class MockRoleActor
public boolean contains(ApplicationUser user)
RoleActor
contains
in interface RoleActor
contains
in class MockRoleActor
user
- the user to check if they are containedCopyright © 2002-2021 Atlassian. All Rights Reserved.