public class GroupWithMembershipChanges extends Object implements Group
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupWithMembershipChanges.Builder |
| Modifier | Constructor and Description |
|---|---|
protected |
GroupWithMembershipChanges(ImmutableGroup group,
Iterable<String> userChildrenIdsToAdd,
Iterable<String> userChildrenIdsToDelete,
Iterable<String> groupChildrenIdsToAdd,
Iterable<String> groupChildrenIdsToDelete) |
public int compareTo(@Nonnull Group other)
compareTo in interface Comparable<Group>public long getDirectoryId()
getDirectoryId in interface DirectoryEntitypublic String getName()
getName in interface DirectoryEntitypublic GroupType getType()
public boolean isActive()
public String getDescription()
getDescription in interface Groupnull if there is no description.@Nullable public String getExternalId()
Groupnull for directories which do not support external idsgetExternalId in interface Groupnull it there is no external idpublic GroupWithMembershipChanges merge(GroupWithMembershipChanges other)
public GroupWithMembershipChanges.Builder toBuilder()
public static GroupWithMembershipChanges.Builder builder(Group group)
public ImmutableGroup getGroup()
public static GroupWithMembershipChanges.Builder builder()
public static GroupWithMembershipChanges.Builder builder(GroupWithMembershipChanges data)
public boolean equals(Object o)
DirectoryEntityequals in interface DirectoryEntityequals in class Objecto - object to compare to.true if and only if the directoryId
and the lowercase names of the directory entities match.public int hashCode()
DirectoryEntityhashCode in interface DirectoryEntityhashCode in class ObjectCopyright © 2021 Atlassian. All rights reserved.