Package jetbrains.buildServer.users.sync
Class SynchronizerStatistics
- java.lang.Object
-
- jetbrains.buildServer.users.sync.SynchronizerStatistics
-
public class SynchronizerStatistics extends Object
Holds the statistics of the last synchronization process.- Since:
- 8.0
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
-
-
Constructor Summary
Constructors Constructor Description SynchronizerStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddError(String error)voidaddInitError(String error)voidclear()longgetDuration()List<String>getErrors()DategetFinishTime()intgetGroupsCreated()intgetGroupsDeleted()intgetGroupsMatched()intgetGroupsUpdated()SynchronizerStatisticsgetPreviousStatistics()intgetRemoteGroups()intgetRemoteUsers()DategetStartTime()intgetUsersCreated()intgetUsersDeleted()intgetUsersMatched()intgetUsersUpdated()booleanisGroupSyncEnabled()booleanisUserSyncEnabled()voidsyncFinished()voidsyncStarted()StringtoString()
-
-
-
Method Detail
-
isUserSyncEnabled
public boolean isUserSyncEnabled()
-
getUsersCreated
public int getUsersCreated()
-
getUsersDeleted
public int getUsersDeleted()
-
getUsersUpdated
public int getUsersUpdated()
-
getUsersMatched
public int getUsersMatched()
-
getRemoteUsers
public int getRemoteUsers()
-
isGroupSyncEnabled
public boolean isGroupSyncEnabled()
-
getGroupsCreated
public int getGroupsCreated()
-
getGroupsDeleted
public int getGroupsDeleted()
-
getGroupsUpdated
public int getGroupsUpdated()
-
getGroupsMatched
public int getGroupsMatched()
-
getRemoteGroups
public int getRemoteGroups()
-
getStartTime
public Date getStartTime()
-
getFinishTime
public Date getFinishTime()
-
getDuration
public long getDuration()
-
clear
public void clear()
-
syncStarted
public void syncStarted()
-
syncFinished
public void syncFinished()
-
getPreviousStatistics
@Nullable public SynchronizerStatistics getPreviousStatistics()
-
addError
public void addError(@NotNull String error)
-
addInitError
public void addInitError(@NotNull String error)
-
-