public static class DuplicatedUsersToDirectoriesMapping.Builder extends Object
DuplicatedUsersToDirectoriesMapping
objects.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DuplicatedUsersToDirectoriesMapping.Builder |
addDirectoryForUser(String username,
com.atlassian.crowd.embedded.api.Directory directory,
boolean isUserActive)
This method adds a new directory for the given user.
|
DuplicatedUsersToDirectoriesMapping |
buildDuplicatedUsers()
Builds
DuplicatedUsersToDirectoriesMapping object and filters out users who are not duplicated. |
public DuplicatedUsersToDirectoriesMapping.Builder addDirectoryForUser(String username, com.atlassian.crowd.embedded.api.Directory directory, boolean isUserActive)
username
- The username of user who will the directory be added to.directory
- The directory that will be associated with user.isUserActive
- Is the provided user active in given directory.public DuplicatedUsersToDirectoriesMapping buildDuplicatedUsers()
DuplicatedUsersToDirectoriesMapping
object and filters out users who are not duplicated.Copyright © 2002-2022 Atlassian. All Rights Reserved.