1 package org.apache.archiva.indexer.search;
3 import java.util.ArrayList;
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
15 * http://www.apache.org/licenses/LICENSE-2.0
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
25 public class SearchFields
30 private String groupId;
35 private String artifactId;
40 private String version;
43 * packaging (jar, war, pom, etc.)
45 private String packaging;
48 * class name or package name
50 private String className;
55 private List<String> repositories = new ArrayList<String>();
57 public String getGroupId()
62 public void setGroupId( String groupId )
64 this.groupId = groupId;
67 public String getArtifactId()
72 public void setArtifactId( String artifactId )
74 this.artifactId = artifactId;
77 public String getVersion()
82 public void setVersion( String version )
84 this.version = version;
87 public String getPackaging()
92 public void setPackaging( String packaging )
94 this.packaging = packaging;
97 public String getClassName()
102 public void setClassName( String className )
104 this.className = className;
107 public List<String> getRepositories()
112 public void setRepositories( List<String> repositories )
114 this.repositories = repositories;