Package com.atlassian.crowd.embedded.api
Class DirectorySynchronisationInformation
java.lang.Object
com.atlassian.crowd.embedded.api.DirectorySynchronisationInformation
- All Implemented Interfaces:
Serializable
Simple object to store synchronisation information for synchronisable directories
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDirectorySynchronisationInformation
(DirectorySynchronisationRoundInformation lastRound, DirectorySynchronisationRoundInformation activeRound) -
Method Summary
Modifier and TypeMethodDescriptionInformation of the currently running synchronisation or null if directory is not being synchronised.Information of the last completed synchronisation or null if directory has never been synchronised.boolean
Is the directory currently synchronising.
-
Constructor Details
-
DirectorySynchronisationInformation
public DirectorySynchronisationInformation(@Nullable DirectorySynchronisationRoundInformation lastRound, @Nullable DirectorySynchronisationRoundInformation activeRound)
-
-
Method Details
-
getLastRound
Information of the last completed synchronisation or null if directory has never been synchronised.- Returns:
- information of the last completed synchronisation
-
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
-