nl.toolforge.karma.core.cmd.impl
Class CreateModuleCommand

java.lang.Object
  extended bynl.toolforge.karma.core.cmd.DefaultCommand
      extended bynl.toolforge.karma.core.cmd.impl.CreateModuleCommand
All Implemented Interfaces:
Command

public class CreateModuleCommand
extends DefaultCommand

Creates a module in a repository. Modules are created using a layout template (instances of ModuleLayoutTemplate).

Version:
$Id: CreateModuleCommand.java,v 1.49 2004/11/10 23:53:08 asmedes Exp $
Author:
D.A. Smedes

Constructor Summary
CreateModuleCommand(CommandDescriptor descriptor)
           
 
Method Summary
 void execute()
          Physical creation of a module in a version control system.
 CommandResponse getCommandResponse()
          Return the specific CommandResponse object that this command uses.
 
Methods inherited from class nl.toolforge.karma.core.cmd.DefaultCommand
cleanUp, deregisterCommandResponseListener, getAlias, getCommandLine, getContext, getDescription, getFrontendMessages, getHelp, getName, getResponseListener, getWorkingContext, registerCommandResponseListener, setCommandLine, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateModuleCommand

public CreateModuleCommand(CommandDescriptor descriptor)
Method Detail

execute

public void execute()
             throws CommandException
Physical creation of a module in a version control system.

Throws:
CommandException - When execution failed. This exception catches all underlying exceptions and rethrows them as a CommandException, except for RuntimeExceptions.

getCommandResponse

public CommandResponse getCommandResponse()
Description copied from interface: Command
Return the specific CommandResponse object that this command uses.

Returns:
CommandResponse


Copyright © 2002-2004 Toolforge. All Rights Reserved.