@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)
ConfigurationListener
configurationEvent
in interface ConfigurationListener
public void scheduleDownloadRemote(String repositoryId, boolean now, boolean fullDownload) throws DownloadRemoteIndexException
scheduleDownloadRemote
in interface DownloadRemoteIndexScheduler
DownloadRemoteIndexException
public org.springframework.scheduling.TaskScheduler getTaskScheduler()
public void setTaskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler)
public List<String> getRunningRemoteDownloadIds()
getRunningRemoteDownloadIds
in interface DownloadRemoteIndexScheduler
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.