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

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

public class SelectManifest
extends DefaultCommand

This command activates a manifest, which is a general requirement for most other commands. The newly activated manifest is stored for the Karma session in the CommandContext that is associated with the Karma session.

Version:
$Id: SelectManifest.java,v 1.25 2004/11/10 22:25:09 hippe Exp $
Author:
W.H. Schraal, D.A. Smedes

Constructor Summary
SelectManifest(CommandDescriptor descriptor)
           
 
Method Summary
 void execute()
          Activates a manifest.
 CommandResponse getCommandResponse()
          Gets the commands' response object.
protected  Manifest getSelectedManifest()
           
 
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

SelectManifest

public SelectManifest(CommandDescriptor descriptor)
Method Detail

execute

public void execute()
             throws CommandException
Activates a manifest.

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

getCommandResponse

public CommandResponse getCommandResponse()
Gets the commands' response object.

Returns:
The commands' response object.

getSelectedManifest

protected Manifest getSelectedManifest()


Copyright © 2002-2004 Toolforge. All Rights Reserved.