org.jboss.forge.aesh
Class ShellCommand
java.lang.Object
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
ShellCommand
public ShellCommand(UICommand command,
ForgeShell aeshell)
throws Exception
- Throws:
Exception
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
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.