summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/cli/Command.java
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2017-10-08 22:39:59 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2017-10-08 22:39:59 -0300
commitc82e3b3b2de0633317ec8fc85925e91422820597 (patch)
tree96567416ce23c5ce85601f9cedc3a94bb1c55cba /BJC-Utils2/src/main/java/bjc/utils/cli/Command.java
parentb3ac1c8690c3e14c879913e5dcc03a5f5e14876e (diff)
Start splitting into maven modules
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/cli/Command.java')
-rw-r--r--BJC-Utils2/src/main/java/bjc/utils/cli/Command.java39
1 files changed, 0 insertions, 39 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/cli/Command.java b/BJC-Utils2/src/main/java/bjc/utils/cli/Command.java
deleted file mode 100644
index 02bc061..0000000
--- a/BJC-Utils2/src/main/java/bjc/utils/cli/Command.java
+++ /dev/null
@@ -1,39 +0,0 @@
-package bjc.utils.cli;
-
-/**
- * Represents a command that can be invoked from a {@link CommandMode}
- *
- * @author ben
- *
- */
-public interface Command {
- /**
- * Create a command that serves as an alias to this one
- *
- * @return A command that serves as an alias to this one
- */
- Command aliased();
-
- /**
- * Get the handler that executes this command
- *
- * @return The handler that executes this command
- */
- CommandHandler getHandler();
-
- /**
- * Get the help entry for this command
- *
- * @return The help entry for this command
- */
- CommandHelp getHelp();
-
- /**
- * Check if this command is an alias of another command
- *
- * @return Whether or not this command is an alias of another
- */
- default boolean isAlias() {
- return false;
- }
-}