jetbrains.buildServer.users.sync
Class SynchronizerStatistics

java.lang.Object
  extended by jetbrains.buildServer.users.sync.SynchronizerStatistics

public class SynchronizerStatistics
extends java.lang.Object

Holds the statistics of the last synchronization process.

Since:
8.0
Author:
Maxim Podkolzine (maxim.podkolzine@jetbrains.com)

Constructor Summary
SynchronizerStatistics()
           
 
Method Summary
 void addError(java.lang.String error)
           
 void addInitError(java.lang.String error)
           
 void clear()
           
 long getDuration()
           
 java.util.List<java.lang.String> getErrors()
           
 java.util.Date getFinishTime()
           
 int getGroupsCreated()
           
 int getGroupsDeleted()
           
 int getGroupsMatched()
           
 int getGroupsUpdated()
           
 int getRemoteGroups()
           
 int getRemoteUsers()
           
 java.util.Date getStartTime()
           
 int getUsersCreated()
           
 int getUsersDeleted()
           
 int getUsersMatched()
           
 int getUsersUpdated()
           
 void syncFinished()
           
 void syncStarted()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SynchronizerStatistics

public SynchronizerStatistics()
Method Detail

getUsersCreated

public int getUsersCreated()

getUsersDeleted

public int getUsersDeleted()

getUsersUpdated

public int getUsersUpdated()

getUsersMatched

public int getUsersMatched()

getRemoteUsers

public int getRemoteUsers()

getGroupsCreated

public int getGroupsCreated()

getGroupsDeleted

public int getGroupsDeleted()

getGroupsUpdated

public int getGroupsUpdated()

getGroupsMatched

public int getGroupsMatched()

getRemoteGroups

public int getRemoteGroups()

getStartTime

public java.util.Date getStartTime()

getFinishTime

public java.util.Date getFinishTime()

getDuration

public long getDuration()

getErrors

@NotNull
public java.util.List<java.lang.String> getErrors()

clear

public void clear()

syncStarted

public void syncStarted()

syncFinished

public void syncFinished()

addError

public void addError(@NotNull
                     java.lang.String error)

addInitError

public void addInitError(@NotNull
                         java.lang.String error)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object