jhomenet.shell.command
Class StoreCurrentValueCommand

java.lang.Object
  extended by jhomenet.shell.command.StoreCurrentValueCommand
All Implemented Interfaces:
SlushCommand

public class StoreCurrentValueCommand
extends java.lang.Object
implements SlushCommand

Filename: $Source: /cvsroot/jhomenet/files/src/jhomenet/shell/command/StoreCurrentValueCommand.java,v $ Description:


Constructor Summary
StoreCurrentValueCommand()
           
 
Method Summary
 void execute(SystemInputStream in, SystemPrintStream out, SystemPrintStream err, java.lang.String[] args, java.util.HashMap env)
          Executes this command.
 java.lang.String getUsageString()
          Returns a string describing the usage of the command and its arguments if any.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreCurrentValueCommand

public StoreCurrentValueCommand()
Method Detail

getUsageString

public java.lang.String getUsageString()
Description copied from interface: SlushCommand
Returns a string describing the usage of the command and its arguments if any.

Specified by:
getUsageString in interface SlushCommand
Returns:
the usage.

execute

public void execute(SystemInputStream in,
                    SystemPrintStream out,
                    SystemPrintStream err,
                    java.lang.String[] args,
                    java.util.HashMap env)
             throws java.lang.Exception
Description copied from interface: SlushCommand
Executes this command.

Specified by:
execute in interface SlushCommand
Parameters:
in - The input stream this command will use to receive input.
out - The print stream this command should use to report any non-critical messages.
err - The print stream this command should use to report any critical messages.
args - The list of arguments given when this command was invoked. This does not include the command location itself.
env - A windDirectionTable of properties variables.
Throws:
java.lang.Exception - Any exception raised by the underlying command. The getMessage() method of this exception should be as descriptive as possible since the SLUSH shell will use it to report the exception back to the user.


Copyright © 2004-2005 David Irwin. All Rights Reserved.