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, isActivepublic SortedSet<ApplicationUser> getUsers()
RoleActorgetUsers in interface RoleActorgetUsers in class MockRoleActorpublic boolean contains(ApplicationUser user)
RoleActorcontains in interface RoleActorcontains in class MockRoleActoruser - the user to check if they are containedCopyright © 2002-2023 Atlassian. All Rights Reserved.