1 package org.apache.archiva.scheduler.indexing;
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
21 import org.apache.archiva.admin.model.beans.NetworkProxy;
22 import org.apache.archiva.admin.model.remote.RemoteRepositoryAdmin;
23 import org.apache.archiva.proxy.common.WagonFactory;
24 import org.apache.archiva.repository.RemoteRepository;
25 import org.apache.maven.index.packer.IndexPacker;
26 import org.apache.maven.index.updater.IndexUpdater;
29 * @author Olivier Lamy
32 public class DownloadRemoteIndexTaskRequest
34 private RemoteRepository remoteRepository;
36 private WagonFactory wagonFactory;
38 private NetworkProxy networkProxy;
40 private boolean fullDownload;
42 private IndexUpdater indexUpdater;
44 private IndexPacker indexPacker;
46 public DownloadRemoteIndexTaskRequest()
51 public RemoteRepository getRemoteRepository()
53 return remoteRepository;
56 public DownloadRemoteIndexTaskRequest setRemoteRepository( RemoteRepository remoteRepository )
58 this.remoteRepository = remoteRepository;
63 public WagonFactory getWagonFactory()
68 public DownloadRemoteIndexTaskRequest setWagonFactory( WagonFactory wagonFactory )
70 this.wagonFactory = wagonFactory;
74 public NetworkProxy getNetworkProxy()
79 public DownloadRemoteIndexTaskRequest setNetworkProxy( NetworkProxy networkProxy )
81 this.networkProxy = networkProxy;
85 public boolean isFullDownload()
90 public DownloadRemoteIndexTaskRequest setFullDownload( boolean fullDownload )
92 this.fullDownload = fullDownload;
96 public IndexUpdater getIndexUpdater()
101 public DownloadRemoteIndexTaskRequest setIndexUpdater( IndexUpdater indexUpdater )
103 this.indexUpdater = indexUpdater;
107 public IndexPacker getIndexPacker()
112 public DownloadRemoteIndexTaskRequest setIndexPacker( IndexPacker indexPacker )
114 this.indexPacker = indexPacker;