| %line | %branch | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| nl.toolforge.karma.core.manifest.LibModule |
|
|
| 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.KarmaRuntimeException; |
|
| 22 | import nl.toolforge.karma.core.Version; |
|
| 23 | import nl.toolforge.karma.core.location.Location; |
|
| 24 | import nl.toolforge.karma.core.manifest.util.LibModuleLayoutTemplate; |
|
| 25 | import nl.toolforge.karma.core.manifest.util.ModuleLayoutTemplate; |
|
| 26 | ||
| 27 | import java.util.Set; |
|
| 28 | ||
| 29 | /** |
|
| 30 | * Module type containing libraries. This release only supports the Karma Java Edition, which means that the libs |
|
| 31 | * (jar-files) need to be stored Maven-style, as this is how they will be looked up in the module. |
|
| 32 | * |
|
| 33 | * @author D.A. Smedes |
|
| 34 | * @version $Id: LibModule.java,v 1.7 2004/11/02 23:57:06 asmedes Exp $ |
|
| 35 | */ |
|
| 36 | public class LibModule extends BaseModule { |
|
| 37 | ||
| 38 | public LibModule(String name, Location location) { |
|
| 39 | 19 | this(name, location, null); |
| 40 | 19 | } |
| 41 | ||
| 42 | /** |
|
| 43 | * Returns an {@link LibModuleLayoutTemplate} instance. |
|
| 44 | * |
|
| 45 | * @return An {@link LibModuleLayoutTemplate} instance. |
|
| 46 | */ |
|
| 47 | public ModuleLayoutTemplate getLayoutTemplate() { |
|
| 48 | 19 | return new LibModuleLayoutTemplate(); |
| 49 | } |
|
| 50 | ||
| 51 | public LibModule(String name, Location location, Version version) { |
|
| 52 | 19 | super(name, location, version); |
| 53 | 19 | } |
| 54 | ||
| 55 | public Set getLibraries() { |
|
| 56 | 0 | throw new KarmaRuntimeException("to be implemented ..."); |
| 57 | } |
|
| 58 | ||
| 59 | } |
| This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |