Class MockGroupRoleActor
java.lang.Object
com.atlassian.jira.security.roles.MockRoleActor
com.atlassian.jira.security.roles.MockGroupRoleActor
- All Implemented Interfaces:
ProjectRoleActor,RoleActor
-
Field Summary
Fields inherited from interface com.atlassian.jira.security.roles.ProjectRoleActor
GROUP_ROLE_ACTOR_TYPE, USER_ROLE_ACTOR_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionMockGroupRoleActor(Long projectRoleId, Long projectId, com.atlassian.crowd.embedded.api.Group group) -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(ApplicationUser user) Does this RoleActor contain the specified user.getUsers()Will provide a Set of users encapsulated by this RoleActor.Methods inherited from class com.atlassian.jira.security.roles.MockRoleActor
equals, getDescriptor, getId, getParameter, getPrettyName, getProjectId, getProjectRoleId, getType, hashCode, isActive
-
Constructor Details
-
MockGroupRoleActor
-
-
Method Details
-
getUsers
Description copied from interface:RoleActorWill provide a Set of users encapsulated by this RoleActor.- Specified by:
getUsersin interfaceRoleActor- Overrides:
getUsersin classMockRoleActor- Returns:
- a Set of users encapsulated by this RoleActor.
-
contains
Description copied from interface:RoleActorDoes this RoleActor contain the specified user.- Specified by:
containsin interfaceRoleActor- Overrides:
containsin classMockRoleActor- Parameters:
user- the user to check if they are contained- Returns:
- true if the user is matched by this RoleActor
-