Coverage Report - org.apache.maven.archiva.reporting.RepositoryStatistics
 
Classes in this File Line Coverage Branch Coverage Complexity
RepositoryStatistics
0%
0/71
N/A
1
 
 1  
 package org.apache.maven.archiva.reporting;
 2  
 
 3  
 import java.util.Date;
 4  
 
 5  
 /*
 6  
  * Licensed to the Apache Software Foundation (ASF) under one
 7  
  * or more contributor license agreements.  See the NOTICE file
 8  
  * distributed with this work for additional information
 9  
  * regarding copyright ownership.  The ASF licenses this file
 10  
  * to you under the Apache License, Version 2.0 (the
 11  
  * "License"); you may not use this file except in compliance
 12  
  * with the License.  You may obtain a copy of the License at
 13  
  *
 14  
  *  http://www.apache.org/licenses/LICENSE-2.0
 15  
  *
 16  
  * Unless required by applicable law or agreed to in writing,
 17  
  * software distributed under the License is distributed on an
 18  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 19  
  * KIND, either express or implied.  See the License for the
 20  
  * specific language governing permissions and limitations
 21  
  * under the License.
 22  
  */
 23  
 
 24  
 /**
 25  
  * RepositoryStatistics
 26  
  *
 27  
  */
 28  0
 public class RepositoryStatistics
 29  
 {
 30  
     private String repositoryId;
 31  
     
 32  0
     private long fileCount = 0;
 33  
     
 34  0
     private long totalSize = 0;
 35  
     
 36  0
     private long projectCount = 0;
 37  
     
 38  0
     private long groupCount = 0;
 39  
     
 40  0
     private long artifactCount = 0;
 41  
     
 42  0
     private long pluginCount = 0;
 43  
     
 44  0
     private long archetypeCount = 0;
 45  
     
 46  0
     private long jarCount = 0;
 47  
     
 48  0
     private long warCount = 0;
 49  
     
 50  0
     private long earCount = 0;
 51  
     
 52  0
     private long dllCount = 0;
 53  
     
 54  0
     private long exeCount = 0;
 55  
 
 56  0
     private long pomCount = 0;
 57  
 
 58  0
     private long zipCount = 0;
 59  
 
 60  0
     private long deploymentCount = 0;
 61  
     
 62  0
     private long downloadCount = 0;
 63  
     
 64  
     private Date dateOfScan;
 65  
 
 66  
     public String getRepositoryId()
 67  
     {
 68  0
         return repositoryId;
 69  
     }
 70  
 
 71  
     public void setRepositoryId( String repositoryId )
 72  
     {
 73  0
         this.repositoryId = repositoryId;
 74  0
     }
 75  
 
 76  
     public long getFileCount()
 77  
     {
 78  0
         return fileCount;
 79  
     }
 80  
 
 81  
     public void setFileCount( long fileCount )
 82  
     {
 83  0
         this.fileCount = fileCount;
 84  0
     }
 85  
 
 86  
     public long getTotalSize()
 87  
     {
 88  0
         return totalSize;
 89  
     }
 90  
 
 91  
     public void setTotalSize( long totalSize )
 92  
     {
 93  0
         this.totalSize = totalSize;
 94  0
     }
 95  
 
 96  
     public long getProjectCount()
 97  
     {
 98  0
         return projectCount;
 99  
     }
 100  
 
 101  
     public void setProjectCount( long projectCount )
 102  
     {
 103  0
         this.projectCount = projectCount;
 104  0
     }
 105  
 
 106  
     public long getGroupCount()
 107  
     {
 108  0
         return groupCount;
 109  
     }
 110  
 
 111  
     public void setGroupCount( long groupCount )
 112  
     {
 113  0
         this.groupCount = groupCount;
 114  0
     }
 115  
 
 116  
     public long getArtifactCount()
 117  
     {
 118  0
         return artifactCount;
 119  
     }
 120  
 
 121  
     public void setArtifactCount( long artifactCount )
 122  
     {
 123  0
         this.artifactCount = artifactCount;
 124  0
     }
 125  
 
 126  
     public long getPluginCount()
 127  
     {
 128  0
         return pluginCount;
 129  
     }
 130  
 
 131  
     public void setPluginCount( long pluginCount )
 132  
     {
 133  0
         this.pluginCount = pluginCount;
 134  0
     }
 135  
 
 136  
     public long getArchetypeCount()
 137  
     {
 138  0
         return archetypeCount;
 139  
     }
 140  
 
 141  
     public void setArchetypeCount( long archetypeCount )
 142  
     {
 143  0
         this.archetypeCount = archetypeCount;
 144  0
     }
 145  
 
 146  
     public long getJarCount()
 147  
     {
 148  0
         return jarCount;
 149  
     }
 150  
 
 151  
     public void setJarCount( long jarCount )
 152  
     {
 153  0
         this.jarCount = jarCount;
 154  0
     }
 155  
 
 156  
     public long getWarCount()
 157  
     {
 158  0
         return warCount;
 159  
     }
 160  
 
 161  
     public void setWarCount( long warCount )
 162  
     {
 163  0
         this.warCount = warCount;
 164  0
     }
 165  
 
 166  
     public long getEarCount()
 167  
     {
 168  0
         return earCount;
 169  
     }
 170  
 
 171  
     public void setEarCount( long earCount )
 172  
     {
 173  0
         this.earCount = earCount;
 174  0
     }
 175  
 
 176  
     public long getDllCount()
 177  
     {
 178  0
         return dllCount;
 179  
     }
 180  
 
 181  
     public void setDllCount( long dllCount )
 182  
     {
 183  0
         this.dllCount = dllCount;
 184  0
     }
 185  
 
 186  
     public long getExeCount()
 187  
     {
 188  0
         return exeCount;
 189  
     }
 190  
 
 191  
     public void setExeCount( long exeCount )
 192  
     {
 193  0
         this.exeCount = exeCount;
 194  0
     }
 195  
 
 196  
     public long getPomCount()
 197  
     {
 198  0
         return pomCount;
 199  
     }
 200  
 
 201  
     public void setPomCount( long pomCount )
 202  
     {
 203  0
         this.pomCount = pomCount;
 204  0
     }
 205  
 
 206  
     public long getZipCount()
 207  
     {
 208  0
         return zipCount;
 209  
     }
 210  
 
 211  
     public void setZipCount( long zipCount )
 212  
     {
 213  0
         this.zipCount = zipCount;
 214  0
     }
 215  
 
 216  
     public long getDeploymentCount()
 217  
     {
 218  0
         return deploymentCount;
 219  
     }
 220  
 
 221  
     public void setDeploymentCount( long deploymentCount )
 222  
     {
 223  0
         this.deploymentCount = deploymentCount;
 224  0
     }
 225  
 
 226  
     public long getDownloadCount()
 227  
     {
 228  0
         return downloadCount;
 229  
     }
 230  
 
 231  
     public void setDownloadCount( long downloadCount )
 232  
     {
 233  0
         this.downloadCount = downloadCount;
 234  0
     }
 235  
 
 236  
     public Date getDateOfScan()
 237  
     {
 238  0
         return dateOfScan;
 239  
     }
 240  
 
 241  
     public void setDateOfScan( Date dateOfScan )
 242  
     {
 243  0
         this.dateOfScan = dateOfScan;
 244  0
     }
 245  
 }