public class MockUserRoleActor extends MockRoleActor
GROUP_ROLE_ACTOR_TYPE, USER_ROLE_ACTOR_TYPE| Constructor and Description |
|---|
MockUserRoleActor(Long projectRoleId,
Long projectId,
ApplicationUser user) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(ApplicationUser user)
Does this RoleActor contain the specified user.
|
Set<ApplicationUser> |
getUsers()
Will provide a Set of users encapsulated by this RoleActor.
|
equals, getDescriptor, getId, getParameter, getPrettyName, getProjectId, getProjectRoleId, getType, hashCode, isActivepublic MockUserRoleActor(Long projectRoleId, Long projectId, ApplicationUser user)
public Set<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-2019 Atlassian. All Rights Reserved.