com.atlassian.jira.mock
Class MockProjectRoleManager.MockRoleActorFactory
java.lang.Object
com.atlassian.jira.mock.MockProjectRoleManager.MockRoleActorFactory
- All Implemented Interfaces:
- RoleActorFactory
- Enclosing class:
- MockProjectRoleManager
public static class MockProjectRoleManager.MockRoleActorFactory
- extends Object
- implements RoleActorFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockProjectRoleManager.MockRoleActorFactory
public MockProjectRoleManager.MockRoleActorFactory()
createRoleActor
public ProjectRoleActor createRoleActor(Long id,
Long projectRoleId,
Long projectId,
String type,
String parameter)
throws RoleActorDoesNotExistException
- Description copied from interface:
RoleActorFactory
- Create instances of the ProjectRoleActor
- Specified by:
createRoleActor
in interface RoleActorFactory
- Returns:
-
- Throws:
RoleActorDoesNotExistException
optimizeRoleActorSet
public Set optimizeRoleActorSet(Set roleActors)
- Description copied from interface:
RoleActorFactory
- 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.
- Specified by:
optimizeRoleActorSet
in interface RoleActorFactory
- Parameters:
roleActors
- a Set of RoleActor instances
- Returns:
- the optimized Set perhaps containing aggregations that can be queried more efficiently.
Copyright © 2002-2013 Atlassian. All Rights Reserved.