Package com.atlassian.crowd.directory
Class DirectoryMembershipsIterable
java.lang.Object
com.atlassian.crowd.directory.DirectoryMembershipsIterable
- All Implemented Interfaces:
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.
-
Constructor Summary
ConstructorDescriptionDirectoryMembershipsIterable
(RemoteDirectory remoteDirectory) DirectoryMembershipsIterable
(RemoteDirectory remoteDirectory, Iterable<String> groupNames) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
DirectoryMembershipsIterable
-
DirectoryMembershipsIterable
public DirectoryMembershipsIterable(RemoteDirectory remoteDirectory) throws OperationFailedException - Throws:
OperationFailedException
-
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceIterable<Membership>
-