|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aitools.programd.interfaces.shell.ShellCommand
org.aitools.programd.test.aiml.TestCommand
public class TestCommand
A TestCommand provides an interface to the AIML testing facility.
| Field Summary | |
|---|---|
static String |
ARGUMENT_TEMPLATE
Argument template. |
static String |
COMMAND_STRING
Shell command. |
| Constructor Summary | |
|---|---|
TestCommand()
Creates a new TestCommand. |
|
| Method Summary | |
|---|---|
void |
handle(String commandLine,
Shell shell)
Runs the specified test suite on the current bot. |
boolean |
handles(String commandLine)
Indicates whether the ShellCommand handles a command contained in the given line. |
| Methods inherited from class org.aitools.programd.interfaces.shell.ShellCommand |
|---|
getArgumentTemplate, getCommandString, getHelpLine |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String COMMAND_STRING
public static final String ARGUMENT_TEMPLATE
| Constructor Detail |
|---|
public TestCommand()
| Method Detail |
|---|
public boolean handles(String commandLine)
ShellCommand
handles in class ShellCommandcommandLine - the line of text received
ShellCommand.handles(java.lang.String)
public void handle(String commandLine,
Shell shell)
handle in class ShellCommandcommandLine - the command line to handleshell - the shell that got the commandShellCommand.handle(java.lang.String,
org.aitools.programd.interfaces.shell.Shell)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||