diff options
author | Maurice Laveaux <m.laveaux@student.tue.nl> | 2014-04-25 12:46:12 +0200 |
---|---|---|
committer | Maurice Laveaux <m.laveaux@student.tue.nl> | 2014-04-25 12:46:12 +0200 |
commit | cc55914d61978b46ec8e3673c4b37fdc3b392e48 (patch) | |
tree | bcee0ff32af56afb4ed19ac2f07f87640fd6ea23 /src/main/ICommand.java | |
parent | 00c8957e2bbb43b167688a877a0f9a908db03c07 (diff) | |
download | TwitterDataAnalytics-cc55914d61978b46ec8e3673c4b37fdc3b392e48.tar.gz |
Added the functionality to execute and parse commands.
* CommandParser can parse input strings to RequestCommand.
* CommandQueue will execute all ICommands in a queue.
* TODO: StreamCommands, database implementation.
* RequestCommand writes into database.txt
Diffstat (limited to 'src/main/ICommand.java')
-rw-r--r-- | src/main/ICommand.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/ICommand.java b/src/main/ICommand.java new file mode 100644 index 0000000..14419a2 --- /dev/null +++ b/src/main/ICommand.java @@ -0,0 +1,14 @@ +package main; + +/** + * The standard interface for any command + * + * @author Maurice Laveaux + */ +public interface ICommand { + + /** + * Execute all the steps to complete this Command. + */ + public void execute(); +} |