public static class

MockProjectRoleManager.MockRoleActorFactory

extends Object
implements RoleActorFactory
java.lang.Object
   ↳ com.atlassian.jira.mock.MockProjectRoleManager.MockRoleActorFactory

Summary

Public Constructors
MockProjectRoleManager.MockRoleActorFactory()
Public Methods
ProjectRoleActor createRoleActor(Long id, Long projectRoleId, Long projectId, String type, String parameter)
Create instances of the ProjectRoleActor
Set<RoleActor> optimizeRoleActorSet(Set<RoleActor> roleActors)
if RoleActors can be aggregated and queried in a more optimised way, then optimize the set to reduce its size so we reduce the number of iterations across the set.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.security.roles.RoleActorFactory

Public Constructors

public MockProjectRoleManager.MockRoleActorFactory ()

Public Methods

public ProjectRoleActor createRoleActor (Long id, Long projectRoleId, Long projectId, String type, String parameter)

Create instances of the ProjectRoleActor

public Set<RoleActor> optimizeRoleActorSet (Set<RoleActor> roleActors)

if RoleActors can be aggregated and queried in a more optimised way, then optimize the set to reduce its size so we reduce the number of iterations across the set.

Parameters
roleActors a Set of RoleActor instances
Returns
  • the optimized Set perhaps containing aggregations that can be queried more efficiently.