Coverage report

  %line %branch
nl.toolforge.karma.core.manifest.OtherModule
0% 
0% 

 1  
 /*
 2  
 Karma core - Core of the Karma application
 3  
 Copyright (C) 2004  Toolforge <www.toolforge.nl>
 4  
 
 5  
 This library is free software; you can redistribute it and/or
 6  
 modify it under the terms of the GNU Lesser General Public
 7  
 License as published by the Free Software Foundation; either
 8  
 version 2.1 of the License, or (at your option) any later version.
 9  
 
 10  
 This library is distributed in the hope that it will be useful,
 11  
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 12  
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 13  
 Lesser General Public License for more details.
 14  
 
 15  
 You should have received a copy of the GNU Lesser General Public
 16  
 License along with this library; if not, write to the Free Software
 17  
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 18  
 */
 19  
 package nl.toolforge.karma.core.manifest;
 20  
 
 21  
 import nl.toolforge.karma.core.Version;
 22  
 import nl.toolforge.karma.core.location.Location;
 23  
 import nl.toolforge.karma.core.manifest.util.ModuleLayoutTemplate;
 24  
 import nl.toolforge.karma.core.manifest.util.OtherModuleLayoutTemplate;
 25  
 
 26  
 /**
 27  
  * <p>A <code>SourceModule</code> represents a module for which the developer wants to have the sources available to
 28  
  * on the local harddisk.
 29  
  *
 30  
  * @author W.H. Schraal
 31  
  * @version $Id: OtherModule.java,v 1.1 2004/10/19 22:11:15 hippe Exp $
 32  
  * @see Module
 33  
  */
 34  
 public class OtherModule extends BaseModule {
 35  
 
 36  
   /**
 37  
    * Constructs an <code>OtherModule</code> with a <code>name</code> and <code>location</code>.
 38  
    *
 39  
    * @param name Mandatory parameter; name of the module.
 40  
    * @param location Mandatory parameter; location of the module.
 41  
    */
 42  
   public OtherModule(String name, Location location) {
 43  0
     this(name, location, null);
 44  0
   }
 45  
 
 46  
   /**
 47  
    * Constructs an <code>OtherModule</code> with a <code>name</code>, <code>location</code> and <code>version</code>.
 48  
    */
 49  
   public OtherModule(String name, Location location, Version version) {
 50  0
     super(name, location, version);
 51  0
   }
 52  
 
 53  
   public Type getInstanceType() {
 54  0
     return Module.OTHER_MODULE;
 55  
   }
 56  
 
 57  
   public ModuleLayoutTemplate getLayoutTemplate() {
 58  0
     return new OtherModuleLayoutTemplate();
 59  
   }
 60  
 
 61  
 }

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.