public class CommandLine extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static List<String> | CLASSESList of available command classes. |
| Modifier | Constructor and Description |
|---|---|
protected | CommandLine() |
| Modifier and Type | Method and Description |
|---|---|
protected static void | exec(String[] args,
List<String> classes)Will only return if command not found. |
static void | main(String[] args)Entry point for command line utilities. |
protected static void | printCommands(List<String> classes)Print the list of available commands. |
protected static void exec(String[] args, List<String> classes)
args - command argumentsclasses - list of classes to searchpublic static void main(String[] args)
args - command arguments