Interface ICommandFactory

    • Method Detail

      • tryCommandForName

        ICommand tryCommandForName​(java.lang.String name)
        Find the command that matches the name.
      • getKnownCommands

        java.util.List<java.lang.String> getKnownCommands()
        List all the commands supported by this command factory (not including help).
      • getHelpCommand

        ICommand getHelpCommand()
        Get the help command.
      • setParentCommandFactory

        void setParentCommandFactory​(ICommandFactory parentCommandFactoryOrNull)
        Set the parent of this command factory.
        parentCommandFactoryOrNull - A command factory, or null if this one has no parent.