com.atlassian.crowd.embedded.api
Class DirectorySynchronisationInformation

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

public class DirectorySynchronisationInformation
extends java.lang.Object

Simple object to store synchronisation information for synchronisable directories


Constructor Summary
DirectorySynchronisationInformation(DirectorySynchronisationRoundInformation lastRound, DirectorySynchronisationRoundInformation activeRound)
           
 
Method Summary
 DirectorySynchronisationRoundInformation getActiveRound()
          Information of the currently running synchronisation or null if directory is not being synchronised.
 DirectorySynchronisationRoundInformation getLastRound()
          Information of the last completed synchronisation or null if directory has never been synchronised.
 boolean isSynchronising()
          Is the directory currently synchronising.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectorySynchronisationInformation

public DirectorySynchronisationInformation(DirectorySynchronisationRoundInformation lastRound,
                                           DirectorySynchronisationRoundInformation activeRound)
Method Detail

getLastRound

public DirectorySynchronisationRoundInformation getLastRound()
Information of the last completed synchronisation or null if directory has never been synchronised.

Returns:
information of the last completed synchronisation

getActiveRound

public DirectorySynchronisationRoundInformation getActiveRound()
Information of the currently running synchronisation or null if directory is not being synchronised.

Returns:
information of the currently running synchronisation

isSynchronising

public boolean isSynchronising()
Is the directory currently synchronising.

Returns:
true if the directory is currently synchronising


Copyright © 2011 Atlassian. All Rights Reserved.