org.jboss.forge.aesh
Class ForgeShell
java.lang.Object
org.jboss.forge.aesh.ForgeShell
@Singleton
@Exported
public class ForgeShell
- extends Object
- Author:
- Ståle W. Pedersen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForgeShell
public ForgeShell()
addCommand
public void addCommand(ShellCommand command)
startShell
public void startShell()
throws Exception
- Throws:
Exception
getRegistry
public AddonRegistry getRegistry()
getPrompt
public String getPrompt()
getConsole
public org.jboss.aesh.console.Console getConsole()
stopShell
public void stopShell()
throws IOException
- Throws:
IOException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.