1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package nl.toolforge.karma.core.module;
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.module.template.LibModuleLayoutTemplate;
25 import nl.toolforge.karma.core.module.template.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.1 2004/11/10 22:25:11 hippe Exp $
35 */
36 public class LibModule extends BaseModule {
37
38 public LibModule(String name, Location location) {
39 this(name, location, null);
40 }
41
42 /***
43 * Returns an {@link LibModuleLayoutTemplate} instance.
44 *
45 * @return An {@link LibModuleLayoutTemplate} instance.
46 */
47 public ModuleLayoutTemplate getLayoutTemplate() {
48 return new LibModuleLayoutTemplate();
49 }
50
51 public LibModule(String name, Location location, Version version) {
52 super(name, location, version);
53 }
54
55 public Set getLibraries() {
56 throw new KarmaRuntimeException("to be implemented ...");
57 }
58
59 }