1 package org.apache.archiva.rest.api.model;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 import org.apache.archiva.admin.model.beans.ManagedRepository;
25
26 import javax.xml.bind.annotation.XmlRootElement;
27 import java.io.Serializable;
28 import java.util.List;
29
30
31
32
33 @XmlRootElement( name = "repositoryScannerStatistics" )
34 public class RepositoryScannerStatistics
35 implements Serializable
36 {
37 private ManagedRepository managedRepository;
38
39 private List<ConsumerScanningStatistics> consumerScanningStatistics;
40
41 private long totalFileCount = 0;
42
43 private long newFileCount = 0;
44
45 public RepositoryScannerStatistics()
46 {
47
48 }
49
50 public ManagedRepository getManagedRepository()
51 {
52 return managedRepository;
53 }
54
55 public void setManagedRepository( ManagedRepository managedRepository )
56 {
57 this.managedRepository = managedRepository;
58 }
59
60 public List<ConsumerScanningStatistics> getConsumerScanningStatistics()
61 {
62 return consumerScanningStatistics;
63 }
64
65 public void setConsumerScanningStatistics( List<ConsumerScanningStatistics> consumerScanningStatistics )
66 {
67 this.consumerScanningStatistics = consumerScanningStatistics;
68 }
69
70 public long getTotalFileCount()
71 {
72 return totalFileCount;
73 }
74
75 public void setTotalFileCount( long totalFileCount )
76 {
77 this.totalFileCount = totalFileCount;
78 }
79
80 public long getNewFileCount()
81 {
82 return newFileCount;
83 }
84
85 public void setNewFileCount( long newFileCount )
86 {
87 this.newFileCount = newFileCount;
88 }
89 }