Forge - Aesh Addon Impl 2.0.0.Alpha3

org.jboss.forge.aesh
Class ForgeShell

java.lang.Object
  extended by org.jboss.forge.aesh.ForgeShell

@Singleton
@Exported
public class ForgeShell
extends Object

Author:
Ståle W. Pedersen

Constructor Summary
ForgeShell()
           
 
Method Summary
 void addCommand(ShellCommand command)
           
 org.jboss.aesh.console.Console getConsole()
           
 String getPrompt()
           
 AddonRegistry getRegistry()
           
 void startShell()
           
 void stopShell()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForgeShell

public ForgeShell()
Method Detail

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

Forge - Aesh Addon Impl 2.0.0.Alpha3

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.