public class ShellCommand extends Object implements org.jboss.aesh.complete.Completion
| Constructor and Description |
|---|
ShellCommand(UICommand command,
ForgeShell aeshell) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public ShellCommand(UICommand command, ForgeShell aeshell) throws Exception
Exceptionpublic org.jboss.aesh.console.Console getConsole()
public ShellContext getContext()
public ForgeShell getAeshell()
public UICommand getCommand()
public void generateParser(UICommand command)
public org.jboss.aesh.cl.CommandLine parse(String line) throws IllegalArgumentException
IllegalArgumentExceptionpublic void run(org.jboss.aesh.console.ConsoleOutput consoleOutput,
org.jboss.aesh.cl.CommandLine commandLine)
throws Exception
Exceptionpublic boolean isStandalone()
public void complete(org.jboss.aesh.complete.CompleteOperation completeOperation)
complete in interface org.jboss.aesh.complete.CompletionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.