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.
|
boolean |
contains(com.atlassian.crowd.embedded.api.User user)
Does this RoleActor contain the specified user.
|
SortedSet<com.atlassian.crowd.embedded.api.User> |
getUsers()
Will provide a Set of users encapsulated by this RoleActor.
|
equals, getDescriptor, getId, getParameter, getPrettyName, getProjectId, getProjectRoleId, getType, hashCode, isActive
public SortedSet<com.atlassian.crowd.embedded.api.User> getUsers()
RoleActor
getUsers
in interface RoleActor
getUsers
in class MockRoleActor
public boolean contains(com.atlassian.crowd.embedded.api.User user)
RoleActor
contains
in interface RoleActor
contains
in class MockRoleActor
user
- the user to check if they are containedpublic boolean contains(ApplicationUser user)
RoleActor
contains
in interface RoleActor
contains
in class MockRoleActor
user
- the user to check if they are containedCopyright © 2002-2015 Atlassian. All Rights Reserved.