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

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

public class ExitCleanCommand
extends DefaultCommand

Version:
$Id: ExitCleanCommand.java,v 1.3 2004/10/09 21:24:25 asmedes Exp $
Author:
W.G. Helmantel

Field Summary
protected  CommandResponse response
           
 
Constructor Summary
ExitCleanCommand(CommandDescriptor descriptor)
           
 
Method Summary
 void execute()
          Executes the command.
 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
 

Field Detail

response

protected CommandResponse response
Constructor Detail

ExitCleanCommand

public ExitCleanCommand(CommandDescriptor descriptor)
Parameters:
descriptor - The command descriptor for this command.
Method Detail

execute

public void execute()
             throws CommandException
Description copied from interface: Command
Executes the command.

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.