diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2016-04-08 13:28:09 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2016-04-08 13:28:09 -0400 |
| commit | 275a627719fc2231b16caea41130ff09f0f2b6a1 (patch) | |
| tree | 757e8ca2061ba6ed9b2063f7155edbe954b72bdb /BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java | |
| parent | 79d3a4a47cbc1fcf17c77c6fc12ff826a3077bac (diff) | |
Switch functional data to use interfaces
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java')
| -rw-r--r-- | BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java b/BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java new file mode 100644 index 0000000..681986d --- /dev/null +++ b/BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java @@ -0,0 +1,23 @@ +package bjc.utils.cli; + +/** + * Represents a command that can be invoked from a {@link ICommandMode} + * + * @author ben + * + */ +public interface ICommand { + /** + * Get the handler that executes this command + * + * @return The handler that executes this command + */ + public ICommandHandler getHandler(); + + /** + * Get the help entry for this command + * + * @return The help entry for this command + */ + public ICommandHelp getHelp(); +} |
