com.atlassian.crowd.directory
Class DirectoryMembershipsIterable
java.lang.Object
com.atlassian.crowd.directory.DirectoryMembershipsIterable
- All Implemented Interfaces:
- Iterable<Membership>
public class DirectoryMembershipsIterable
- extends Object
- implements Iterable<Membership>
An Iterable
view of the memberships of a collection of named groups, backed
with individual calls to a RemoteDirectory
.
Any underlying failures during iteration will be wrapped as Membership.MembershipIterationException
s.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GROUPS_TO_NAMES
@Deprecated
public static final com.google.common.base.Function<Group,String> GROUPS_TO_NAMES
- Deprecated. use
Groups.NAME_FUNCTION
instead.
DirectoryMembershipsIterable
public DirectoryMembershipsIterable(RemoteDirectory remoteDirectory,
Iterable<String> groupNames)
DirectoryMembershipsIterable
public DirectoryMembershipsIterable(RemoteDirectory remoteDirectory)
throws OperationFailedException
- Throws:
OperationFailedException
iterator
public Iterator<Membership> iterator()
- Specified by:
iterator
in interface Iterable<Membership>
Copyright © 2013 Atlassian. All Rights Reserved.