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 javax.xml.bind.annotation.XmlRootElement;
22import java.io.Serializable;
2324/**25 * @author Olivier Lamy26 */27 @XmlRootElement( name = "consumerScanningStatistics" )
28publicclassConsumerScanningStatistics29implements Serializable
30 {
31private String consumerKey;
3233privatelong count;
3435privatelong time;
3637private String average;
3839publicConsumerScanningStatistics()
40 {
41// no op42 }
4344public String getConsumerKey()
45 {
46return consumerKey;
47 }
4849publicvoid setConsumerKey( String consumerKey )
50 {
51this.consumerKey = consumerKey;
52 }
5354publiclong getCount()
55 {
56return count;
57 }
5859publicvoid setCount( long count )
60 {
61this.count = count;
62 }
6364publiclong getTime()
65 {
66return time;
67 }
6869publicvoid setTime( long time )
70 {
71this.time = time;
72 }
7374public String getAverage()
75 {
76return average;
77 }
7879publicvoid setAverage( String average )
80 {
81this.average = average;
82 }
83 }