@Service(value="downloadRemoteIndexScheduler#default") public class DefaultDownloadRemoteIndexScheduler extends Object implements ConfigurationListener, DownloadRemoteIndexScheduler
| Constructor and Description |
|---|
DefaultDownloadRemoteIndexScheduler() |
| Modifier and Type | Method and Description |
|---|---|
void |
configurationEvent(ConfigurationEvent event)
Generic event point to notify components that something has happend in the configuration.
|
List<String> |
getRunningRemoteDownloadIds() |
org.springframework.scheduling.TaskScheduler |
getTaskScheduler() |
void |
scheduleDownloadRemote(String repositoryId,
boolean now,
boolean fullDownload) |
void |
setTaskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler) |
void |
startup() |
public DefaultDownloadRemoteIndexScheduler()
@PostConstruct public void startup() throws DownloadRemoteIndexException, UnsupportedBaseContextException
public void configurationEvent(ConfigurationEvent event)
ConfigurationListenerconfigurationEvent in interface ConfigurationListenerpublic void scheduleDownloadRemote(String repositoryId, boolean now, boolean fullDownload) throws DownloadRemoteIndexException
scheduleDownloadRemote in interface DownloadRemoteIndexSchedulerDownloadRemoteIndexExceptionpublic org.springframework.scheduling.TaskScheduler getTaskScheduler()
public void setTaskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler)
public List<String> getRunningRemoteDownloadIds()
getRunningRemoteDownloadIds in interface DownloadRemoteIndexSchedulerCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.