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.MembershipIterationExceptions.
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<Group,String> |
GROUPS_TO_NAMES
Deprecated.
use
DirectoryEntities.NAME_FUNCTION instead. |
| Constructor and Description |
|---|
DirectoryMembershipsIterable(RemoteDirectory remoteDirectory) |
DirectoryMembershipsIterable(RemoteDirectory remoteDirectory,
Iterable<String> groupNames) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Membership> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliterator@Deprecated public static final com.google.common.base.Function<Group,String> GROUPS_TO_NAMES
DirectoryEntities.NAME_FUNCTION instead.public DirectoryMembershipsIterable(RemoteDirectory remoteDirectory, Iterable<String> groupNames)
public DirectoryMembershipsIterable(RemoteDirectory remoteDirectory) throws OperationFailedException
OperationFailedExceptionpublic Iterator<Membership> iterator()
iterator in interface Iterable<Membership>Copyright © 2020 Atlassian. All rights reserved.