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.beans.RemoteRepository;
23 import org.apache.archiva.admin.model.remote.RemoteRepositoryAdmin;
24 import org.apache.archiva.proxy.common.WagonFactory;
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 RemoteRepositoryAdmin remoteRepositoryAdmin;
38 private WagonFactory wagonFactory;
40 private NetworkProxy networkProxy;
42 private boolean fullDownload;
44 private IndexUpdater indexUpdater;
46 private IndexPacker indexPacker;
48 public DownloadRemoteIndexTaskRequest()
53 public RemoteRepository getRemoteRepository()
55 return remoteRepository;
58 public DownloadRemoteIndexTaskRequest setRemoteRepository( RemoteRepository remoteRepository )
60 this.remoteRepository = remoteRepository;
65 public WagonFactory getWagonFactory()
70 public DownloadRemoteIndexTaskRequest setWagonFactory( WagonFactory wagonFactory )
72 this.wagonFactory = wagonFactory;
76 public NetworkProxy getNetworkProxy()
81 public DownloadRemoteIndexTaskRequest setNetworkProxy( NetworkProxy networkProxy )
83 this.networkProxy = networkProxy;
87 public boolean isFullDownload()
92 public DownloadRemoteIndexTaskRequest setFullDownload( boolean fullDownload )
94 this.fullDownload = fullDownload;
98 public IndexUpdater getIndexUpdater()
103 public DownloadRemoteIndexTaskRequest setIndexUpdater( IndexUpdater indexUpdater )
105 this.indexUpdater = indexUpdater;
109 public RemoteRepositoryAdmin getRemoteRepositoryAdmin()
111 return remoteRepositoryAdmin;
114 public DownloadRemoteIndexTaskRequest setRemoteRepositoryAdmin( RemoteRepositoryAdmin remoteRepositoryAdmin )
116 this.remoteRepositoryAdmin = remoteRepositoryAdmin;
120 public IndexPacker getIndexPacker()
125 public DownloadRemoteIndexTaskRequest setIndexPacker( IndexPacker indexPacker )
127 this.indexPacker = indexPacker;