vs.rationalagent.ui
Class Command
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Command
public Command(RationalAgent agent,
RationalAgentGui agentGui)
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)