summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/cli/CLICommander.java
diff options
context:
space:
mode:
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/cli/CLICommander.java')
-rw-r--r--BJC-Utils2/src/main/java/bjc/utils/cli/CLICommander.java30
1 files changed, 15 insertions, 15 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/cli/CLICommander.java b/BJC-Utils2/src/main/java/bjc/utils/cli/CLICommander.java
index e816b78..09d3da7 100644
--- a/BJC-Utils2/src/main/java/bjc/utils/cli/CLICommander.java
+++ b/BJC-Utils2/src/main/java/bjc/utils/cli/CLICommander.java
@@ -48,21 +48,6 @@ public class CLICommander {
}
/**
- * Set the initial command mode to use
- *
- * @param initialMode
- * The initial command mode to use
- */
- public void setInitialCommandMode(ICommandMode initialMode) {
- if (initialMode == null) {
- throw new NullPointerException(
- "Initial mode must be non-zero");
- }
-
- this.initialMode = initialMode;
- }
-
- /**
* Run a set of commands through this commander
*/
public void runCommands() {
@@ -105,4 +90,19 @@ public class CLICommander {
normalOutput.print("Exiting now.");
}
+
+ /**
+ * Set the initial command mode to use
+ *
+ * @param initialMode
+ * The initial command mode to use
+ */
+ public void setInitialCommandMode(ICommandMode initialMode) {
+ if (initialMode == null) {
+ throw new NullPointerException(
+ "Initial mode must be non-zero");
+ }
+
+ this.initialMode = initialMode;
+ }
}