com.atlassian.crowd.acceptance.utils
Class NoopDirectorySynchroniser
java.lang.Object
com.atlassian.crowd.acceptance.utils.NoopDirectorySynchroniser
- All Implemented Interfaces:
- DirectorySynchroniser
public class NoopDirectorySynchroniser
- extends Object
- implements DirectorySynchroniser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoopDirectorySynchroniser
public NoopDirectorySynchroniser()
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.