nl.toolforge.karma.core.module
Class OtherModule

java.lang.Object
  extended bynl.toolforge.karma.core.module.BaseModule
      extended bynl.toolforge.karma.core.module.OtherModule
All Implemented Interfaces:
Module

public class OtherModule
extends BaseModule

A SourceModule represents a module for which the developer wants to have the sources available to on the local harddisk.

Version:
$Id: OtherModule.java,v 1.1 2004/11/10 22:25:11 hippe Exp $
Author:
W.H. Schraal
See Also:
Module

Nested Class Summary
 
Nested classes inherited from class nl.toolforge.karma.core.module.Module
Module.State, Module.Type
 
Field Summary
 
Fields inherited from class nl.toolforge.karma.core.module.BaseModule
logger
 
Fields inherited from interface nl.toolforge.karma.core.module.Module
DYNAMIC, JAVA_ENTERPRISE_APPLICATION, JAVA_SOURCE_MODULE, JAVA_WEB_APPLICATION, LIBRARY_MODULE, MODULE_DESCRIPTOR, OTHER_MODULE, STATIC, UNKNOWN, WORKING
 
Constructor Summary
OtherModule(java.lang.String name, Location location)
          Constructs an OtherModule with a name and location.
OtherModule(java.lang.String name, Location location, Version version)
          Constructs an OtherModule with a name, location and version.
 
Method Summary
 Module.Type getInstanceType()
           
 ModuleLayoutTemplate getLayoutTemplate()
          Returns the correct layout template for the module.
 
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
 

Constructor Detail

OtherModule

public OtherModule(java.lang.String name,
                   Location location)
Constructs an OtherModule with a name and location.

Parameters:
name - Mandatory parameter; name of the module.
location - Mandatory parameter; location of the module.

OtherModule

public OtherModule(java.lang.String name,
                   Location location,
                   Version version)
Constructs an OtherModule with a name, location and version.

Method Detail

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.