1package org.apache.archiva.rest.api.model;
2/*3 * Licensed to the Apache Software Foundation (ASF) under one4 * or more contributor license agreements. See the NOTICE file5 * distributed with this work for additional information6 * regarding copyright ownership. The ASF licenses this file7 * to you under the Apache License, Version 2.0 (the8 * "License"); you may not use this file except in compliance9 * with the License. You may obtain a copy of the License at10 *11 * http://www.apache.org/licenses/LICENSE-2.012 *13 * Unless required by applicable law or agreed to in writing,14 * software distributed under the License is distributed on an15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY16 * KIND, either express or implied. See the License for the17 * specific language governing permissions and limitations18 * under the License.19 */2021222324import org.apache.archiva.admin.model.beans.ManagedRepository;
2526import javax.xml.bind.annotation.XmlRootElement;
27import java.io.Serializable;
28import java.util.List;
2930/**31 * @author Olivier Lamy32 */33 @XmlRootElement( name = "repositoryScannerStatistics" )
34publicclassRepositoryScannerStatistics35implements Serializable
36 {
37privateManagedRepository managedRepository;
3839private List<ConsumerScanningStatistics> consumerScanningStatistics;
4041privatelong totalFileCount = 0;
4243privatelong newFileCount = 0;
4445publicRepositoryScannerStatistics()
46 {
47// no op48 }
4950publicManagedRepository getManagedRepository()
51 {
52return managedRepository;
53 }
5455publicvoid setManagedRepository( ManagedRepository managedRepository )
56 {
57this.managedRepository = managedRepository;
58 }
5960public List<ConsumerScanningStatistics> getConsumerScanningStatistics()
61 {
62return consumerScanningStatistics;
63 }
6465publicvoid setConsumerScanningStatistics( List<ConsumerScanningStatistics> consumerScanningStatistics )
66 {
67this.consumerScanningStatistics = consumerScanningStatistics;
68 }
6970publiclong getTotalFileCount()
71 {
72return totalFileCount;
73 }
7475publicvoid setTotalFileCount( long totalFileCount )
76 {
77this.totalFileCount = totalFileCount;
78 }
7980publiclong getNewFileCount()
81 {
82return newFileCount;
83 }
8485publicvoid setNewFileCount( long newFileCount )
86 {
87this.newFileCount = newFileCount;
88 }
89 }