Class CLI

java.lang.Object
com.botbox.bbsh.CLI

public class CLI
extends java.lang.Object
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  CLI.CommandInfo  
    static class  CLI.HelpCommand  
  • Constructor Summary

    Constructors 
    Constructor Description
    CLI()  
  • Method Summary

    Modifier and Type Method Description
    static void find​(java.lang.String tosubclassname)  
    static java.lang.Class[] find​(java.lang.String pckgname, java.lang.Class cls)  
    Command getCommand​(CLI.CommandInfo info)  
    Command getCommand​(java.lang.String cmd)  
    java.util.List<java.lang.String> getCommandNames()  
    Env getEnv()  
    boolean hasCommand​(java.lang.String cmd)  
    void registerAllCommands​(java.lang.Class<?> type)  
    boolean registerCommand​(java.lang.Class<? extends Command> command)  
    protected void registerDefaultCommands()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait