Forge - Aesh Addon Impl 2.0.0.Alpha3

org.jboss.forge.aesh
Class ShellCommand

java.lang.Object
  extended by org.jboss.forge.aesh.ShellCommand
All Implemented Interfaces:
org.jboss.aesh.complete.Completion

public class ShellCommand
extends Object
implements org.jboss.aesh.complete.Completion

Author:
Ståle W. Pedersen

Constructor Summary
ShellCommand(UICommand command, ForgeShell aeshell)
           
 
Method Summary
 void complete(org.jboss.aesh.complete.CompleteOperation completeOperation)
           
 boolean equals(Object o)
           
 void generateParser(UICommand command)
           
 ForgeShell getAeshell()
           
 UICommand getCommand()
           
 org.jboss.aesh.console.Console getConsole()
           
 ShellContext getContext()
           
 int hashCode()
           
 boolean isStandalone()
           
 org.jboss.aesh.cl.CommandLine parse(String line)
           
 void run(org.jboss.aesh.console.ConsoleOutput consoleOutput, org.jboss.aesh.cl.CommandLine commandLine)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShellCommand

public ShellCommand(UICommand command,
                    ForgeShell aeshell)
             throws Exception
Throws:
Exception
Method Detail

getConsole

public org.jboss.aesh.console.Console getConsole()

getContext

public ShellContext getContext()

getAeshell

public ForgeShell getAeshell()

getCommand

public UICommand getCommand()

generateParser

public void generateParser(UICommand command)

parse

public org.jboss.aesh.cl.CommandLine parse(String line)
                                    throws org.jboss.aesh.cl.exception.CommandLineParserException
Throws:
org.jboss.aesh.cl.exception.CommandLineParserException

run

public void run(org.jboss.aesh.console.ConsoleOutput consoleOutput,
                org.jboss.aesh.cl.CommandLine commandLine)
         throws Exception
Throws:
Exception

isStandalone

public boolean isStandalone()

complete

public void complete(org.jboss.aesh.complete.CompleteOperation completeOperation)
Specified by:
complete in interface org.jboss.aesh.complete.Completion

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

Forge - Aesh Addon Impl 2.0.0.Alpha3

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.