Class NoopDirectorySynchroniser
java.lang.Object
com.atlassian.crowd.acceptance.utils.NoopDirectorySynchroniser
- All Implemented Interfaces:
DirectorySynchroniser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSynchronising(long directoryId) Returns whether the directory is currently synchronising.voidsynchronise(SynchronisableDirectory synchronisableDirectory, SynchronisationMode mode) Executes a synchronisation in the current thread.
-
Constructor Details
-
NoopDirectorySynchroniser
public NoopDirectorySynchroniser()
-
-
Method Details
-
synchronise
Description copied from interface:DirectorySynchroniserExecutes a synchronisation in the current thread. If the directory is not active, then the method will return silently.- Specified by:
synchronisein interfaceDirectorySynchroniser- Parameters:
synchronisableDirectory- directory to synchronise.mode- synchronisation mode.
-
isSynchronising
public boolean isSynchronising(long directoryId) Description copied from interface:DirectorySynchroniserReturns whether the directory is currently synchronising.- Specified by:
isSynchronisingin interfaceDirectorySynchroniser- Parameters:
directoryId- ID of the directory- Returns:
- true if the directory is current synchronising, otherwise false.
-