public class JiraDirectoryPollerManager extends Object implements com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerManager
Modifier and Type | Field and Description |
---|---|
static String |
DIRECTORY_ID |
Constructor and Description |
---|
JiraDirectoryPollerManager(com.atlassian.scheduler.SchedulerService schedulerService) |
Modifier and Type | Method and Description |
---|---|
void |
addPoller(com.atlassian.crowd.directory.monitor.poller.DirectoryPoller poller) |
boolean |
hasPoller(long directoryID) |
void |
removeAllPollers() |
boolean |
removePoller(long directoryID) |
void |
triggerPoll(long directoryID,
com.atlassian.crowd.manager.directory.SynchronisationMode synchronisationMode) |
public static final String DIRECTORY_ID
public JiraDirectoryPollerManager(com.atlassian.scheduler.SchedulerService schedulerService)
public void addPoller(com.atlassian.crowd.directory.monitor.poller.DirectoryPoller poller) throws com.atlassian.crowd.manager.directory.monitor.DirectoryMonitorRegistrationException
addPoller
in interface com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerManager
com.atlassian.crowd.manager.directory.monitor.DirectoryMonitorRegistrationException
public boolean hasPoller(long directoryID)
hasPoller
in interface com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerManager
public void triggerPoll(long directoryID, com.atlassian.crowd.manager.directory.SynchronisationMode synchronisationMode)
triggerPoll
in interface com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerManager
public boolean removePoller(long directoryID) throws com.atlassian.crowd.manager.directory.monitor.DirectoryMonitorUnregistrationException
removePoller
in interface com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerManager
com.atlassian.crowd.manager.directory.monitor.DirectoryMonitorUnregistrationException
public void removeAllPollers()
removeAllPollers
in interface com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerManager
Copyright © 2002-2021 Atlassian. All Rights Reserved.