vs.rationalagent.ui
Class Command

java.lang.Object
  extended by vs.rationalagent.ui.Command
Direct Known Subclasses:
DisplayActionCommand, GetAgentIDCommand, GetSuggestionsCommand, HelpCommand, ListActionScheduleCommand, ListFactsCommand, PrologCommand, PulseCommand, PulseCommand, PulseOnCommand, QueryCommand, ScheduleActionCommand, TellCommand, TestCommand, UntellCommand, ValidateActionCommand

public abstract class Command
extends java.lang.Object


Constructor Summary
Command(RationalAgent agent, RationalAgentGui agentGui)
           
 
Method Summary
 void execute()
           
 java.lang.String getAllArguments()
           
 java.lang.String getArgument(int idx)
           
 int getArgumentCount()
           
abstract  java.lang.String getDescription()
           
abstract  java.lang.String getName()
           
 void parseCommandLine(java.lang.String arguments)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Command

public Command(RationalAgent agent,
               RationalAgentGui agentGui)
Method Detail

execute

public void execute()

getAllArguments

public java.lang.String getAllArguments()

getArgument

public java.lang.String getArgument(int idx)

getArgumentCount

public int getArgumentCount()

getDescription

public abstract java.lang.String getDescription()

getName

public abstract java.lang.String getName()

parseCommandLine

public void parseCommandLine(java.lang.String arguments)