org.ow2.shelbie.core.console
Class JLineConsole

java.lang.Object
  extended by org.ow2.shelbie.core.console.JLineConsole
All Implemented Interfaces:
Runnable

public class JLineConsole
extends Object
implements Runnable

Created by IntelliJ IDEA. User: sauthieg Date: 6 janv. 2010 Time: 17:46:33 To change this template use File | Settings | File Templates.


Field Summary
static String CONTINUE_PROMPT
           
 
Constructor Summary
JLineConsole(org.apache.felix.service.command.CommandProcessor processor, jline.console.completer.Completer completer, InputStream in, PrintStream out, PrintStream err, jline.Terminal terminal)
           
 
Method Summary
 void close()
           
 org.apache.felix.service.command.CommandSession getSession()
           
 void run()
           
 void setBrandingService(org.ow2.shelbie.core.branding.BrandingService brandingService)
           
 void setCallback(Runnable callback)
           
 void setHistoryFile(File historyFile)
           
 void setPromptService(org.ow2.shelbie.core.prompt.PromptService promptService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTINUE_PROMPT

public static final String CONTINUE_PROMPT
See Also:
Constant Field Values
Constructor Detail

JLineConsole

public JLineConsole(org.apache.felix.service.command.CommandProcessor processor,
                    jline.console.completer.Completer completer,
                    InputStream in,
                    PrintStream out,
                    PrintStream err,
                    jline.Terminal terminal)
             throws Exception
Throws:
Exception
Method Detail

setCallback

public void setCallback(Runnable callback)

setPromptService

public void setPromptService(org.ow2.shelbie.core.prompt.PromptService promptService)

setHistoryFile

public void setHistoryFile(File historyFile)

setBrandingService

public void setBrandingService(org.ow2.shelbie.core.branding.BrandingService brandingService)

getSession

public org.apache.felix.service.command.CommandSession getSession()

close

public void close()

run

public void run()
Specified by:
run in interface Runnable


Copyright © 2013 OW2 Consortium. All Rights Reserved.