Package org.jboss.aesh.console.command

Examples of org.jboss.aesh.console.command.CommandContainer


    @Override
    public CommandResult execute(CommandInvocation commandInvocation) throws IOException {
        setCommandInvocation(commandInvocation);
        if(manPages != null && manPages.size() > 0) {
            try {
                CommandContainer manCommand = registry.getCommand(manPages.get(0).getCommand(), null);
                if(manCommand.getCommand() instanceof ManCommand) {
                    setFile(((ManCommand) manCommand.getCommand()).getManLocation().toString());
                    getCommandInvocation().attachConsoleCommand(this);
                    afterAttach();
                }
            } catch (CommandNotFoundException e) {
                e.printStackTrace();
View Full Code Here

TOP

Related Classes of org.jboss.aesh.console.command.CommandContainer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.