Coverage Report - org.apache.archiva.indexer.search.SearchFields
 
Classes in this File Line Coverage Branch Coverage Complexity
SearchFields
0%
0/29
N/A
0
 
 1  
 package org.apache.archiva.indexer.search;
 2  
 
 3  
 import java.util.ArrayList;
 4  
 import java.util.List;
 5  
 
 6  
 /*
 7  
  * Licensed to the Apache Software Foundation (ASF) under one
 8  
  * or more contributor license agreements.  See the NOTICE file
 9  
  * distributed with this work for additional information
 10  
  * regarding copyright ownership.  The ASF licenses this file
 11  
  * to you under the Apache License, Version 2.0 (the
 12  
  * "License"); you may not use this file except in compliance
 13  
  * with the License.  You may obtain a copy of the License at
 14  
  *
 15  
  *  http://www.apache.org/licenses/LICENSE-2.0
 16  
  *
 17  
  * Unless required by applicable law or agreed to in writing,
 18  
  * software distributed under the License is distributed on an
 19  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 20  
  * KIND, either express or implied.  See the License for the
 21  
  * specific language governing permissions and limitations
 22  
  * under the License.
 23  
  */
 24  
 
 25  
 public class SearchFields
 26  
 {
 27  
     /**
 28  
      * groupId
 29  
      */
 30  
     private String groupId;
 31  
 
 32  
     /**
 33  
      * artifactId
 34  
      */
 35  
     private String artifactId;
 36  
 
 37  
     /**
 38  
      * version
 39  
      */
 40  
     private String version;
 41  
 
 42  
     /**
 43  
      * packaging (jar, war, pom, etc.)
 44  
      */
 45  
     private String packaging;
 46  
 
 47  
     /**
 48  
      * class name or package name
 49  
      */
 50  
     private String className;
 51  
     
 52  
     /**
 53  
      * repositories
 54  
      */
 55  0
     private List<String> repositories = new ArrayList<String>();
 56  
     
 57  
     public SearchFields()
 58  0
     {
 59  
         
 60  0
     }
 61  
     
 62  
     public SearchFields( String groupId, String artifactId, String version, String packaging, String className,
 63  
                          List<String> repositories )
 64  0
     {
 65  0
         this.groupId = groupId;
 66  0
         this.artifactId = artifactId;
 67  0
         this.version = version;
 68  0
         this.packaging = packaging;
 69  0
         this.className = className;
 70  0
         this.repositories = repositories;
 71  0
     }
 72  
     
 73  
     public String getGroupId()
 74  
     {
 75  0
         return groupId;
 76  
     }
 77  
 
 78  
     public void setGroupId( String groupId )
 79  
     {
 80  0
         this.groupId = groupId;
 81  0
     }
 82  
 
 83  
     public String getArtifactId()
 84  
     {
 85  0
         return artifactId;
 86  
     }
 87  
 
 88  
     public void setArtifactId( String artifactId )
 89  
     {
 90  0
         this.artifactId = artifactId;
 91  0
     }
 92  
 
 93  
     public String getVersion()
 94  
     {
 95  0
         return version;
 96  
     }
 97  
 
 98  
     public void setVersion( String version )
 99  
     {
 100  0
         this.version = version;
 101  0
     }
 102  
 
 103  
     public String getPackaging()
 104  
     {
 105  0
         return packaging;
 106  
     }
 107  
 
 108  
     public void setPackaging( String packaging )
 109  
     {
 110  0
         this.packaging = packaging;
 111  0
     }
 112  
 
 113  
     public String getClassName()
 114  
     {
 115  0
         return className;
 116  
     }
 117  
 
 118  
     public void setClassName( String className )
 119  
     {
 120  0
         this.className = className;
 121  0
     }
 122  
 
 123  
     public List<String> getRepositories()
 124  
     {
 125  0
         return repositories;
 126  
     }
 127  
 
 128  
     public void setRepositories( List<String> repositories )
 129  
     {
 130  0
         this.repositories = repositories;
 131  0
     }
 132  
 }