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

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

public class NoopPollerManager
extends Object
implements DirectoryPollerManager

Noop instance of the poller manager that is used when driving the test harness.


Constructor Summary
NoopPollerManager()
           
 
Method Summary
 void addPoller(DirectoryPoller poller)
           
 boolean hasPoller(long directoryID)
           
 void removeAllPollers()
           
 boolean removePoller(long directoryID)
           
 void triggerPoll(long directoryID, SynchronisationMode synchronisationMode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopPollerManager

public NoopPollerManager()
Method Detail

addPoller

public void addPoller(DirectoryPoller poller)
               throws DirectoryMonitorRegistrationException
Specified by:
addPoller in interface DirectoryPollerManager
Throws:
DirectoryMonitorRegistrationException

hasPoller

public boolean hasPoller(long directoryID)
Specified by:
hasPoller in interface DirectoryPollerManager

triggerPoll

public void triggerPoll(long directoryID,
                        SynchronisationMode synchronisationMode)
Specified by:
triggerPoll in interface DirectoryPollerManager

removePoller

public boolean removePoller(long directoryID)
                     throws DirectoryMonitorUnregistrationException
Specified by:
removePoller in interface DirectoryPollerManager
Throws:
DirectoryMonitorUnregistrationException

removeAllPollers

public void removeAllPollers()
Specified by:
removeAllPollers in interface DirectoryPollerManager


Copyright © 2014 Atlassian. All Rights Reserved.