nl.toolforge.karma.core.module
Class SourceModule
java.lang.Object
nl.toolforge.karma.core.module.BaseModule
nl.toolforge.karma.core.module.SourceModule
- All Implemented Interfaces:
- Module
- Direct Known Subclasses:
- MavenModule
- public class SourceModule
- extends BaseModule
A SourceModule
represents a module for which the developer wants to have the sources available to
on the local harddisk.
- Version:
- $Id: SourceModule.java,v 1.1 2004/11/10 22:25:11 hippe Exp $
- Author:
- D.A. Smedes
- See Also:
Module
Constructor Summary |
SourceModule(java.lang.String name,
Location location)
Constructs a SourceModule with a name and location . |
SourceModule(java.lang.String name,
Location location,
Version version)
Constructs a SourceModule with a name , location and version . |
Methods inherited from class nl.toolforge.karma.core.module.BaseModule |
createRemote, equals, getBaseDir, getDependencies, getLocation, getName, getPatchLine, getType, getVersion, getVersionAsString, hasDevelopmentLine, hashCode, hasPatchLine, hasVersion, markDevelopmentLine, markPatchLine, setBaseDir, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SourceModule
public SourceModule(java.lang.String name,
Location location)
- Constructs a
SourceModule
with a name
and location
.
- Parameters:
name
- Mandatory parameter; name of the module.location
- Mandatory parameter; location of the module.
SourceModule
public SourceModule(java.lang.String name,
Location location,
Version version)
- Constructs a
SourceModule
with a name
, location
and version
.
getInstanceType
public Module.Type getInstanceType()
getLayoutTemplate
public ModuleLayoutTemplate getLayoutTemplate()
- Description copied from interface:
Module
- Returns the correct layout template for the module.
- Specified by:
getLayoutTemplate
in interface Module
- Specified by:
getLayoutTemplate
in class BaseModule
Copyright © 2002-2004 Toolforge. All Rights Reserved.