org.eidola.test
Class CommandLineInterface
java.lang.Object
|
+--java.lang.Thread
|
+--org.eidola.test.CommandLineInterface
- All Implemented Interfaces:
- EventListener, Runnable
- public class CommandLineInterface
- extends Thread
- implements EventListener
A very simplistic command line interface for testing purposes.
- Version:
- [Development version]
- Author:
- Paul Cantrell
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, yield |
CommandLineInterface
public CommandLineInterface()
main
public static void main(String[] args)
throws Exception
run
public void run()
- Overrides:
run
in class Thread
parseCommandLine
public List parseCommandLine(String commandLine)
throws Throwable
help
public void help(List commandLine)
history
public void history(List commandLine)
list
public void list(List commandLine)
create
public void create(List commandLine)
throws Exception
dump
public void dump(List commandLine)
debug
public void debug(List commandLine)
wait
public void wait(List commandLine)
throws Exception
clear
public void clear()
clear
public void clear(List commandLine)
notate
public void notate(List commandLine)
throws Exception
invoke
public Object invoke(List commandLine)
throws Throwable
handleEvent
public void handleEvent(Event event)
- Description copied from interface:
EventListener
- Handles an event. Implementations typically filter for specific
subclasses of
Event
.
- Specified by:
handleEvent
in interface EventListener
- Following copied from interface:
org.eidola.kernel.event.EventListener
- Parameters:
event
- The event to handle.
toString
public String toString()
- Overrides:
toString
in class Thread
getContainer
public Container getContainer(int n)