org.apache.archiva.scheduler.indexing
Class DownloadRemoteIndexTask

java.lang.Object
  extended by org.apache.archiva.scheduler.indexing.DownloadRemoteIndexTask
All Implemented Interfaces:
Runnable

public class DownloadRemoteIndexTask
extends Object
implements Runnable

Since:
1.4-M1
Author:
Olivier Lamy

Nested Class Summary
private static class DownloadRemoteIndexTask.DownloadListener
           
private static class DownloadRemoteIndexTask.WagonResourceFetcher
           
 
Field Summary
private  boolean fullDownload
           
private  org.apache.maven.index.updater.IndexUpdater indexUpdater
           
private  org.slf4j.Logger log
           
private  NetworkProxy networkProxy
           
private  RemoteRepository remoteRepository
           
private  RemoteRepositoryAdmin remoteRepositoryAdmin
           
private  List<String> runningRemoteDownloadIds
           
private  WagonFactory wagonFactory
           
 
Constructor Summary
DownloadRemoteIndexTask(DownloadRemoteIndexTaskRequest downloadRemoteIndexTaskRequest, List<String> runningRemoteDownloadIds)
           
 
Method Summary
private  void deleteDirectoryQuiet(File f)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private org.slf4j.Logger log

remoteRepository

private RemoteRepository remoteRepository

remoteRepositoryAdmin

private RemoteRepositoryAdmin remoteRepositoryAdmin

wagonFactory

private WagonFactory wagonFactory

networkProxy

private NetworkProxy networkProxy

fullDownload

private boolean fullDownload

runningRemoteDownloadIds

private List<String> runningRemoteDownloadIds

indexUpdater

private org.apache.maven.index.updater.IndexUpdater indexUpdater
Constructor Detail

DownloadRemoteIndexTask

public DownloadRemoteIndexTask(DownloadRemoteIndexTaskRequest downloadRemoteIndexTaskRequest,
                               List<String> runningRemoteDownloadIds)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

deleteDirectoryQuiet

private void deleteDirectoryQuiet(File f)


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.