com.atlassian.crowd.embedded.api
Class DirectorySynchronisationRoundInformation

java.lang.Object
  extended by com.atlassian.crowd.embedded.api.DirectorySynchronisationRoundInformation

public class DirectorySynchronisationRoundInformation
extends Object

Information of a directory synchronisation round.


Constructor Summary
DirectorySynchronisationRoundInformation(long startTime, long durationMs, String statusKey, List<Serializable> statusParameters)
           
 
Method Summary
 long getDurationMs()
          Returns in milliseconds the duration of the synchronisation
 long getStartTime()
          Returns the time in milliseconds of the directory synchronisation time.
 String getStatusKey()
          Returns a status key that can be used to get a human readable synchronisation status message.
 List<Serializable> getStatusParameters()
          Returns parameters for status key retrieved from getStatusKey().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectorySynchronisationRoundInformation

public DirectorySynchronisationRoundInformation(long startTime,
                                                long durationMs,
                                                String statusKey,
                                                List<Serializable> statusParameters)
Method Detail

getStartTime

public long getStartTime()
Returns the time in milliseconds of the directory synchronisation time.

Returns:
the time in milliseconds of the directory synchronisation time

getDurationMs

public long getDurationMs()
Returns in milliseconds the duration of the synchronisation

Returns:
duration of the synchronisation in milliseconds

getStatusKey

public String getStatusKey()
Returns a status key that can be used to get a human readable synchronisation status message.

Returns:
status key

getStatusParameters

public List<Serializable> getStatusParameters()
Returns parameters for status key retrieved from getStatusKey().

Returns:
parameters for status key


Copyright © 2013 Atlassian. All Rights Reserved.