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, isActive
public MockUserRoleActor(Long projectRoleId, Long projectId, ApplicationUser user)
public Set<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-2019 Atlassian. All Rights Reserved.