@Singleton @Exported public class ForgeShellImpl extends Object implements ForgeShell
| Constructor and Description |
|---|
ForgeShellImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCommand(ShellCommand command) |
org.jboss.aesh.console.Console |
getConsole() |
String |
getPrompt() |
AddonRegistry |
getRegistry() |
void |
startShell() |
void |
stopShell() |
public void addCommand(ShellCommand command)
public void startShell()
throws Exception
startShell in interface ForgeShellExceptionpublic AddonRegistry getRegistry()
public String getPrompt()
getPrompt in interface ForgeShellpublic org.jboss.aesh.console.Console getConsole()
getConsole in interface ForgeShellpublic void stopShell()
throws IOException
stopShell in interface ForgeShellIOExceptionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.