1 package org.apache.maven.plugin.jira;
2
3 /*
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License. You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied. See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 */
21
22 import org.apache.maven.plugin.logging.Log;
23
24 import java.util.List;
25
26 /**
27 * An interface for building a search query for JIRA.
28 *
29 * @author Dennis Lundberg
30 * @version $Id: JiraQueryBuilder.java 1412388 2012-11-22 00:29:17Z bimargulies $
31 * @since 2.8
32 */
33 public interface JiraQueryBuilder
34 {
35 String build();
36
37 JiraQueryBuilder components( String components );
38
39 JiraQueryBuilder components( List<String> components );
40
41 JiraQueryBuilder filter( String filter );
42
43 JiraQueryBuilder fixVersion( String fixVersion );
44
45 JiraQueryBuilder fixVersionIds( String fixVersionIds );
46
47 JiraQueryBuilder fixVersionIds( List<String> fixVersionIds );
48
49 Log getLog();
50
51 JiraQueryBuilder priorityIds( String priorityIds );
52
53 JiraQueryBuilder priorityIds( List<String> priorityIds );
54
55 JiraQueryBuilder project( String project );
56
57 JiraQueryBuilder resolutionIds( String resolutionIds );
58
59 JiraQueryBuilder resolutionIds( List<String> resolutionIds );
60
61 JiraQueryBuilder sortColumnNames( String sortColumnNames );
62
63 JiraQueryBuilder statusIds( String statusIds );
64
65 JiraQueryBuilder statusIds( List<String> statusIds );
66
67 JiraQueryBuilder typeIds( String typeIds );
68
69 JiraQueryBuilder typeIds( List<String> typeIds );
70 }