com.atlassian.crowd.acceptance.utils
Class NoopDirectorySynchroniser

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

public class NoopDirectorySynchroniser
extends Object
implements DirectorySynchroniser


Constructor Summary
NoopDirectorySynchroniser()
           
 
Method Summary
 boolean isSynchronising(long directoryId)
          Returns whether the directory is currently synchronising.
 void synchronise(SynchronisableDirectory synchronisableDirectory, SynchronisationMode mode)
          Executes a synchronisation in the current thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopDirectorySynchroniser

public NoopDirectorySynchroniser()
Method Detail

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.


Copyright © 2013 Atlassian. All Rights Reserved.