%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
nl.toolforge.karma.core.module.JavaEnterpriseApplicationModule |
|
|
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.module; |
|
20 | ||
21 | import nl.toolforge.karma.core.Version; |
|
22 | import nl.toolforge.karma.core.location.Location; |
|
23 | import nl.toolforge.karma.core.module.template.EappModuleLayoutTemplate; |
|
24 | import nl.toolforge.karma.core.module.template.ModuleLayoutTemplate; |
|
25 | ||
26 | /** |
|
27 | * Module type containing libraries. This release only supports the Karma Java Edition, which means that the libs |
|
28 | * (jar-files) need to be stored Maven-style, as this is how they will be looked up in the module. |
|
29 | * |
|
30 | * @author D.A. Smedes |
|
31 | * @version $Id: JavaEnterpriseApplicationModule.java,v 1.4 2004/11/10 22:25:11 hippe Exp $ |
|
32 | */ |
|
33 | public class JavaEnterpriseApplicationModule extends BaseModule { |
|
34 | ||
35 | public JavaEnterpriseApplicationModule(String name, Location location) { |
|
36 | 7 | this(name, location, null); |
37 | 15 | } |
38 | 8 | |
39 | /** |
|
40 | * Returns an {@link EappModuleLayoutTemplate} instance. |
|
41 | * |
|
42 | * @return An {@link EappModuleLayoutTemplate} instance. |
|
43 | */ |
|
44 | public ModuleLayoutTemplate getLayoutTemplate() { |
|
45 | 7 | return new EappModuleLayoutTemplate(); |
46 | 8 | } |
47 | ||
48 | 11 | public JavaEnterpriseApplicationModule(String name, Location location, Version version) { |
49 | 18 | super(name, location, version); |
50 | 15 | } |
51 | 8 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |