Package jetbrains.buildServer.users.sync
Class SynchronizerOptions
- java.lang.Object
-
- jetbrains.buildServer.users.sync.RemoteDataFetcherOptions
-
- jetbrains.buildServer.users.sync.SynchronizerOptions
-
public class SynchronizerOptions extends RemoteDataFetcherOptions
Holds the options for the synchronization.- Since:
- 8.0
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
- See Also:
PropertiesConstants
-
-
Constructor Summary
Constructors Constructor Description SynchronizerOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getSyncTimeout()
protected boolean
handleCustomProperty(java.lang.String key, java.lang.String value)
void
initFromProperties(java.util.Set<java.util.Map.Entry<java.lang.Object,java.lang.Object>> properties, SynchronizerStatistics statistics)
boolean
isAddSubgroups()
boolean
isAllowToModifyTeamCityGroups()
boolean
isAllUsersGroupUserSyncEnabled()
boolean
isAssignUsers()
boolean
isCreateGroups()
boolean
isCreateUsers()
boolean
isCreateUsersOnlyWhenGroupSync()
boolean
isDeassignUsers()
boolean
isDeleteGroups()
boolean
isDeleteUsers()
boolean
isDeleteUsersOnlyWhenGroupSync()
boolean
isForceUpdateUserProperties()
boolean
isRemoveSubgroups()
void
setAddSubgroups(boolean addSubgroups)
void
setAllowToModifyTeamCityGroups(boolean allowToModifyTeamCityGroups)
void
setAllUsersGroupUserSyncEnabled(boolean allUsersGroupUserSyncEnabled)
void
setAssignUsers(boolean assignUsers)
void
setCreateGroups(boolean createGroups)
void
setCreateUsers(boolean createUsers)
void
setCreateUsersOnlyWhenGroupSync(boolean createUsersOnlyWhenGroupSync)
void
setDeassignUsers(boolean deassignUsers)
protected void
setDefaultOptions()
void
setDeleteGroups(boolean deleteGroups)
void
setDeleteUsers(boolean deleteUsers)
void
setDeleteUsersOnlyWhenGroupSync(boolean deleteUsersOnlyWhenGroupSync)
void
setForceUpdateUserProperties(boolean forceUpdateUserProperties)
void
setRemoveSubgroups(boolean removeSubgroups)
void
setSyncTimeout(long syncTimeout)
java.lang.String
toString()
-
Methods inherited from class jetbrains.buildServer.users.sync.RemoteDataFetcherOptions
isGroupSyncEnabled, isUserSyncEnabled, setGroupSyncEnabled, setUserSyncEnabled
-
-
-
-
Method Detail
-
isCreateUsers
public boolean isCreateUsers()
-
setCreateUsers
public void setCreateUsers(boolean createUsers)
-
isDeleteUsers
public boolean isDeleteUsers()
-
setDeleteUsers
public void setDeleteUsers(boolean deleteUsers)
-
isAssignUsers
public boolean isAssignUsers()
-
setAssignUsers
public void setAssignUsers(boolean assignUsers)
-
isDeassignUsers
public boolean isDeassignUsers()
-
setDeassignUsers
public void setDeassignUsers(boolean deassignUsers)
-
isCreateGroups
public boolean isCreateGroups()
-
setCreateGroups
public void setCreateGroups(boolean createGroups)
-
isDeleteGroups
public boolean isDeleteGroups()
-
setDeleteGroups
public void setDeleteGroups(boolean deleteGroups)
-
isAddSubgroups
public boolean isAddSubgroups()
-
setAddSubgroups
public void setAddSubgroups(boolean addSubgroups)
-
isRemoveSubgroups
public boolean isRemoveSubgroups()
-
setRemoveSubgroups
public void setRemoveSubgroups(boolean removeSubgroups)
-
getSyncTimeout
public long getSyncTimeout()
-
setSyncTimeout
public void setSyncTimeout(long syncTimeout)
-
isForceUpdateUserProperties
public boolean isForceUpdateUserProperties()
-
setForceUpdateUserProperties
public void setForceUpdateUserProperties(boolean forceUpdateUserProperties)
-
isCreateUsersOnlyWhenGroupSync
public boolean isCreateUsersOnlyWhenGroupSync()
-
setCreateUsersOnlyWhenGroupSync
public void setCreateUsersOnlyWhenGroupSync(boolean createUsersOnlyWhenGroupSync)
-
isDeleteUsersOnlyWhenGroupSync
public boolean isDeleteUsersOnlyWhenGroupSync()
-
setDeleteUsersOnlyWhenGroupSync
public void setDeleteUsersOnlyWhenGroupSync(boolean deleteUsersOnlyWhenGroupSync)
-
isAllowToModifyTeamCityGroups
public boolean isAllowToModifyTeamCityGroups()
-
setAllowToModifyTeamCityGroups
public void setAllowToModifyTeamCityGroups(boolean allowToModifyTeamCityGroups)
-
isAllUsersGroupUserSyncEnabled
public boolean isAllUsersGroupUserSyncEnabled()
-
setAllUsersGroupUserSyncEnabled
public void setAllUsersGroupUserSyncEnabled(boolean allUsersGroupUserSyncEnabled)
-
initFromProperties
public void initFromProperties(@NotNull java.util.Set<java.util.Map.Entry<java.lang.Object,java.lang.Object>> properties, @NotNull SynchronizerStatistics statistics)
-
setDefaultOptions
protected void setDefaultOptions()
-
handleCustomProperty
protected boolean handleCustomProperty(@NotNull java.lang.String key, @NotNull java.lang.String value)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-