Coverage Report - org.apache.maven.plugin.jira.JiraDownloader
 
Classes in this File Line Coverage Branch Coverage Complexity
JiraDownloader
0%
0/25
N/A
1
 
 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  
 /**
 23  
  * Gets relevant issues for a JIRA report.
 24  
  *
 25  
  * @author mfranken@xebia.com
 26  
  * @author jruiz@exist.com
 27  
  * @version $Id: org.apache.maven.plugin.jira.JiraDownloader.html 816601 2012-05-08 12:50:18Z hboutemy $
 28  
  */
 29  
 public final class JiraDownloader
 30  
     extends AbstractJiraDownloader
 31  
 {
 32  
     public JiraDownloader()
 33  0
     {
 34  0
         statusMap.put( "Open", "1" );
 35  0
         statusMap.put( "In Progress", "3" );
 36  0
         statusMap.put( "Reopened", "4" );
 37  0
         statusMap.put( "Resolved", "5" );
 38  0
         statusMap.put( "Closed", "6" );
 39  
 
 40  0
         resolutionMap.put( "Unresolved", "-1" );
 41  0
         resolutionMap.put( "Fixed", "1" );
 42  0
         resolutionMap.put( "Won't Fix", "2" );
 43  0
         resolutionMap.put( "Duplicate", "3" );
 44  0
         resolutionMap.put( "Incomplete", "4" );
 45  0
         resolutionMap.put( "Cannot Reproduce", "5" );
 46  
 
 47  0
         priorityMap.put( "Blocker", "1" );
 48  0
         priorityMap.put( "Critical", "2" );
 49  0
         priorityMap.put( "Major", "3" );
 50  0
         priorityMap.put( "Minor", "4" );
 51  0
         priorityMap.put( "Trivial", "5" );
 52  
 
 53  0
         typeMap.put( "Bug", "1" );
 54  0
         typeMap.put( "New Feature", "2" );
 55  0
         typeMap.put( "Task", "3" );
 56  0
         typeMap.put( "Improvement", "4" );
 57  0
         typeMap.put( "Wish", "5" );
 58  0
         typeMap.put( "Test", "6" );
 59  0
         typeMap.put( "Sub-task", "7" );
 60  0
     }
 61  
 }