com.atlassian.jira.scheme.mapper
Class RoleToGroupsMapping
java.lang.Object
com.atlassian.jira.scheme.mapper.RoleToGroupsMapping
public class RoleToGroupsMapping
- extends Object
Represents a mapping between many or one group/s and a ProjectRole
. This
object also has some convenience methods that allow us to find the Set
of users that will be
unwrapped into the project role as part of the mapping.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleToGroupsMapping
public RoleToGroupsMapping(GroupToRoleMapping groupToRoleMapping)
getProjectRole
public ProjectRole getProjectRole()
addMappedGroup
public void addMappedGroup(com.atlassian.crowd.embedded.api.Group group)
getGroupToRoleMapping
public GroupToRoleMapping getGroupToRoleMapping()
getMappedGroups
public Collection getMappedGroups()
getMappedGroupNames
public Collection getMappedGroupNames()
getUnpackedUsers
public Collection getUnpackedUsers()
getUnpackedUsersLimited
public Collection getUnpackedUsersLimited(int limit)
Copyright © 2002-2012 Atlassian. All Rights Reserved.