Coverage Report - org.apache.maven.plugin.announcement.JiraDownloader
 
Classes in this File Line Coverage Branch Coverage Complexity
JiraDownloader
0%
0/9
N/A
1
 
 1  
 package org.apache.maven.plugin.announcement;
 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.jira.AbstractJiraDownloader;
 23  
 
 24  
 /**
 25  
  * Gets relevant issues for an announcement.
 26  
  *
 27  
  * @author mfranken@xebia.com
 28  
  * @author jruiz@exist.com
 29  
  * @version $Id: org.apache.maven.plugin.announcement.JiraDownloader.html 816598 2012-05-08 12:46:49Z hboutemy $
 30  
  */
 31  
 public final class JiraDownloader extends AbstractJiraDownloader
 32  
 {
 33  
     public JiraDownloader()
 34  0
     {
 35  0
         statusMap.put( "Closed", "6" );
 36  
 
 37  0
         resolutionMap.put( "Fixed", "1" );
 38  
 
 39  0
         priorityMap.put( "Blocker", "1" );
 40  0
         priorityMap.put( "Critical", "2" );
 41  0
         priorityMap.put( "Major", "3" );
 42  0
         priorityMap.put( "Minor", "4" );
 43  0
         priorityMap.put( "Trivial", "5" );
 44  0
     }
 45  
 }