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 */2021import org.apache.archiva.admin.model.beans.ManagedRepository;
2223import javax.xml.bind.annotation.XmlRootElement;
24import java.io.Serializable;
25import java.util.List;
2627/**28 * @author Olivier Lamy29 */30 @XmlRootElement( name = "repositoryScannerStatistics" )
31publicclassRepositoryScannerStatistics32implements Serializable
33 {
34privateManagedRepository managedRepository;
3536private List<ConsumerScanningStatistics> consumerScanningStatistics;
3738privatelong totalFileCount = 0;
3940privatelong newFileCount = 0;
4142publicRepositoryScannerStatistics()
43 {
44// no op45 }
4647publicManagedRepository getManagedRepository()
48 {
49return managedRepository;
50 }
5152publicvoid setManagedRepository( ManagedRepository managedRepository )
53 {
54this.managedRepository = managedRepository;
55 }
5657public List<ConsumerScanningStatistics> getConsumerScanningStatistics()
58 {
59return consumerScanningStatistics;
60 }
6162publicvoid setConsumerScanningStatistics( List<ConsumerScanningStatistics> consumerScanningStatistics )
63 {
64this.consumerScanningStatistics = consumerScanningStatistics;
65 }
6667publiclong getTotalFileCount()
68 {
69return totalFileCount;
70 }
7172publicvoid setTotalFileCount( long totalFileCount )
73 {
74this.totalFileCount = totalFileCount;
75 }
7677publiclong getNewFileCount()
78 {
79return newFileCount;
80 }
8182publicvoid setNewFileCount( long newFileCount )
83 {
84this.newFileCount = newFileCount;
85 }
86 }