Class NoopDirectorySynchroniser

java.lang.Object
com.atlassian.crowd.acceptance.utils.NoopDirectorySynchroniser
All Implemented Interfaces:
DirectorySynchroniser

public class NoopDirectorySynchroniser extends Object implements DirectorySynchroniser
  • Constructor Details

    • NoopDirectorySynchroniser

      public NoopDirectorySynchroniser()
  • Method Details

    • synchronise

      public void synchronise(SynchronisableDirectory synchronisableDirectory, SynchronisationMode mode)
      Description copied from interface: DirectorySynchroniser
      Executes a synchronisation in the current thread. If the directory is not active, then the method will return silently.
      Specified by:
      synchronise in interface DirectorySynchroniser
      Parameters:
      synchronisableDirectory - directory to synchronise.
      mode - synchronisation mode.
    • isSynchronising

      public boolean isSynchronising(long directoryId)
      Description copied from interface: DirectorySynchroniser
      Returns whether the directory is currently synchronising.
      Specified by:
      isSynchronising in interface DirectorySynchroniser
      Parameters:
      directoryId - ID of the directory
      Returns:
      true if the directory is current synchronising, otherwise false.