com.atlassian.crowd.acceptance.tests.directory
Class MockSynchronisationStatusManager

java.lang.Object
  extended by com.atlassian.crowd.acceptance.tests.directory.MockSynchronisationStatusManager
All Implemented Interfaces:
SynchronisationStatusManager

public class MockSynchronisationStatusManager
extends Object
implements SynchronisationStatusManager


Constructor Summary
MockSynchronisationStatusManager()
           
 
Method Summary
 DirectorySynchronisationInformation getDirectorySynchronisationInformation(Directory directory)
          Returns directory synchronisation information.
 void syncFinished(long directoryId)
          Notify that directory synchronisation has finished.
 void syncStarted(Directory directory)
          Notify that directory synchronisation has started.
 void syncStatus(long directoryId, String key, Serializable... parameters)
          Notify that directory synchronisation status has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockSynchronisationStatusManager

public MockSynchronisationStatusManager()
Method Detail

syncStarted

public void syncStarted(Directory directory)
Description copied from interface: SynchronisationStatusManager
Notify that directory synchronisation has started.

Specified by:
syncStarted in interface SynchronisationStatusManager
Parameters:
directory - directory

syncStatus

public void syncStatus(long directoryId,
                       String key,
                       Serializable... parameters)
Description copied from interface: SynchronisationStatusManager
Notify that directory synchronisation status has changed.

Specified by:
syncStatus in interface SynchronisationStatusManager
Parameters:
directoryId - directory id
key - synchronisation status message key
parameters - synchronisation status message parameters

syncFinished

public void syncFinished(long directoryId)
Description copied from interface: SynchronisationStatusManager
Notify that directory synchronisation has finished.

Specified by:
syncFinished in interface SynchronisationStatusManager
Parameters:
directoryId - directory id

getDirectorySynchronisationInformation

public DirectorySynchronisationInformation getDirectorySynchronisationInformation(Directory directory)
Description copied from interface: SynchronisationStatusManager
Returns directory synchronisation information. The returned value is never be null.

Specified by:
getDirectorySynchronisationInformation in interface SynchronisationStatusManager
Parameters:
directory - directory to retrieve information from
Returns:
directory synchronisation information


Copyright © 2014 Atlassian. All Rights Reserved.