autohit.server.command
Class CommandLoadProps

java.lang.Object
  extended byautohit.server.command.Command
      extended byautohit.server.command.CommandLoadProps
All Implemented Interfaces:
java.io.Serializable

public class CommandLoadProps
extends Command

The LOADPROPS command. It will load properties to a specified disk locations. The load may or may not be destructive.

COMMAND LIST this.assert(false,false,false,false,true,false) 0-UNI - OPTIONAL 1-RESPONSE - OPTIONAL 2-TARGET - OPTIONAL 3-CLASS - UNUSED 4-COMMAND - REQUIRED 5-OBJECT - UNUSED

Version:
1.0 Version HistoryEPG - Initial - 4Dec03
Author:
Erich P. Gatejen
See Also:
Serialized Form

Field Summary
static java.lang.String LIST_HEADER
           
static java.lang.String MY_NAME
          My name
 
Fields inherited from class autohit.server.command.Command
CLASS_LIST_INDEX, classobject, command, COMMAND_LIST_INDEX, data, OBJECT_LIST_INDEX, response, RESPONSE_ELEMENT_SEPERATOR, RESPONSE_LIST_INDEX, sc, target, TARGET_LIST_INDEX, uni, UNI_LIST_INDEX, uniqueID
 
Constructor Summary
CommandLoadProps()
           
 
Method Summary
 java.lang.String execute()
          Execute the command.
 java.lang.String getName()
          Get the textual name for the command.
 java.lang.String verify()
          Verify the Save Props command.
 
Methods inherited from class autohit.server.command.Command
assertparam, call, createCommand, getMsgHeader, respond, sendTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MY_NAME

public static final java.lang.String MY_NAME
My name

See Also:
Constant Field Values

LIST_HEADER

public static final java.lang.String LIST_HEADER
See Also:
Constant Field Values
Constructor Detail

CommandLoadProps

public CommandLoadProps()
Method Detail

execute

public java.lang.String execute()
                         throws ServerException
Execute the command.

Specified by:
execute in class Command
Returns:
return the manreadable message for success.
Throws:
ServerException

verify

public java.lang.String verify()
                        throws ServerException
Verify the Save Props command.

Specified by:
verify in class Command
Returns:
return the manreadable message for accepting the command.
Throws:
ServerException

getName

public java.lang.String getName()
Get the textual name for the command.

Specified by:
getName in class Command
Returns:
return the manreadable name of this command.


Test.