Class ConflictingGroupsCalculator
- java.lang.Object
-
- jetbrains.buildServer.serverSide.projectsImport.conflicts.ConflictingGroupsCalculator
-
@ThreadSafe public class ConflictingGroupsCalculator extends Object
SeeConflictingUsersCalculator
It is the same except it's simpler - we merged groups by group key.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConflictingGroupsCalculator.ConflictingGroup
-
Constructor Summary
Constructors Constructor Description ConflictingGroupsCalculator(ImportedUsersModel importedUsersModel, UserGroupManager userGroupManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
calculate()
SortedSet<ConflictingGroupsCalculator.ConflictingGroup>
getConflictingGroups()
Collection of groups having the same group key as one of existing group on this server.Set<ImportedGroup>
getConflictingImportedGroups()
SortedSet<ImportedGroup>
getNonConflictingGroups()
-
-
-
Constructor Detail
-
ConflictingGroupsCalculator
public ConflictingGroupsCalculator(@NotNull ImportedUsersModel importedUsersModel, @NotNull UserGroupManager userGroupManager)
-
-
Method Detail
-
calculate
public void calculate()
-
getConflictingGroups
@NotNull public SortedSet<ConflictingGroupsCalculator.ConflictingGroup> getConflictingGroups()
Collection of groups having the same group key as one of existing group on this server.
-
getConflictingImportedGroups
@NotNull public Set<ImportedGroup> getConflictingImportedGroups()
-
getNonConflictingGroups
@NotNull public SortedSet<ImportedGroup> getNonConflictingGroups()
-
-