public class ShellCommand extends Object implements org.jboss.aesh.complete.Completion
| Constructor and Description |
|---|
ShellCommand(AddonRegistry registry,
ForgeShell shell,
UICommand command) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete(org.jboss.aesh.complete.CompleteOperation completeOperation) |
boolean |
equals(Object o) |
void |
generateParser(UICommand command) |
UICommand |
getCommand() |
org.jboss.aesh.console.Console |
getConsole() |
ShellContext |
getContext() |
ForgeShell |
getForgeShell() |
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(AddonRegistry registry, ForgeShell shell, UICommand command) throws Exception
Exceptionpublic org.jboss.aesh.console.Console getConsole()
public ShellContext getContext()
public ForgeShell getForgeShell()
public UICommand getCommand()
public void generateParser(UICommand command)
public org.jboss.aesh.cl.CommandLine parse(String line) throws org.jboss.aesh.cl.exception.CommandLineParserException
org.jboss.aesh.cl.exception.CommandLineParserExceptionpublic 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.