@Immutable @PublicApi public class DuplicatedUsersToDirectoriesMapping extends Object
EMPTY
public static member if you want to retrieve an empty instance.Modifier and Type | Class and Description |
---|---|
static class |
DuplicatedUsersToDirectoriesMapping.Builder
Builder class used to construct
DuplicatedUsersToDirectoriesMapping objects. |
static class |
DuplicatedUsersToDirectoriesMapping.DirectoryWithUserActive
Container class holding id and name of the directory and an indication if user has an active account in it.
|
Modifier and Type | Field and Description |
---|---|
static DuplicatedUsersToDirectoriesMapping |
EMPTY |
Modifier and Type | Method and Description |
---|---|
List<DuplicatedUsersToDirectoriesMapping.DirectoryWithUserActive> |
getDirectoriesForUser(String username)
Returns the list of directories where the duplicated user has an account.
|
Set<String> |
getUsernames()
Returns the set of usernames present in the container.
|
int |
userCount()
Returns the number of users who have duplicated accounts.
|
public static final DuplicatedUsersToDirectoriesMapping EMPTY
public int userCount()
public List<DuplicatedUsersToDirectoriesMapping.DirectoryWithUserActive> getDirectoriesForUser(String username)
Copyright © 2002-2022 Atlassian. All Rights Reserved.