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

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

public class UpdateAdmin
extends DefaultCommand

Updates administrative data for a working context. The manifest-store and the location-store are updated.

Version:
$Id: UpdateAdmin.java,v 1.1 2004/11/10 23:50:04 asmedes Exp $
Author:
W.H. Schraal, D.A. Smedes

Constructor Summary
UpdateAdmin(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
 

Constructor Detail

UpdateAdmin

public UpdateAdmin(CommandDescriptor descriptor)
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.