com.atlassian.crowd.embedded.api
Class DirectorySynchronisationInformation

java.lang.Object
  extended by com.atlassian.crowd.embedded.api.DirectorySynchronisationInformation
All Implemented Interfaces:
Serializable

public class DirectorySynchronisationInformation
extends Object
implements Serializable

Simple object to store synchronisation information for synchronisable directories

See Also:
Serialized Form

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(@Nullable
                                           DirectorySynchronisationRoundInformation lastRound,
                                           @Nullable
                                           DirectorySynchronisationRoundInformation activeRound)
Method Detail

getLastRound

@Nullable
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

@Nullable
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 © 2015 Atlassian. All Rights Reserved.