Coverage Report - org.apache.maven.archiva.reporting.DefaultReportingManager
 
Classes in this File Line Coverage Branch Coverage Complexity
DefaultReportingManager
0%
0/3
N/A
0
 
 1  
 package org.apache.maven.archiva.reporting;
 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 java.util.Map;
 23  
 
 24  
 /**
 25  
  * DefaultReportingManager 
 26  
  *
 27  
  * @version $Id: DefaultReportingManager.java 755290 2009-03-17 15:53:37Z brett $
 28  
  * 
 29  
  * @plexus.component role="org.apache.maven.archiva.reporting.ReportingManager"
 30  
  *                   role-hint="default"
 31  
  */
 32  0
 public class DefaultReportingManager
 33  
     implements ReportingManager
 34  
 {
 35  
     /**
 36  
      * @plexus.requirement role="org.apache.maven.archiva.reporting.DynamicReportSource"
 37  
      */
 38  
     private Map<String, DynamicReportSource<?>> reportSourceMap;
 39  
 
 40  
     public DynamicReportSource<?> getReport( String id )
 41  
     {
 42  0
         return reportSourceMap.get( id );
 43  
     }
 44  
 
 45  
     public Map<String, DynamicReportSource<?>> getAvailableReports()
 46  
     {
 47  0
         return reportSourceMap;
 48  
     }
 49  
 }