Class Console
- java.lang.Object
-
- org.apache.jackrabbit.vault.util.console.Console
-
- Direct Known Subclasses:
VaultFsConsole
public class Console extends Object
Console...
-
-
Constructor Summary
Constructors Constructor Description Console(AbstractApplication app)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddContext(ConsoleExecutionContext ctx)protected booleanclose()protected org.jline.reader.LineReadercreateJLineReader()protected AbstractApplicationgetApplication()org.jline.reader.LineReadergetReader()booleanisRunning()voidquit()voidremoveContext(ConsoleExecutionContext ctx)voidrun()protected voidsetup()voidswitchContext(String name)voidswitchContext(ConsoleExecutionContext ctx)
-
-
-
Constructor Detail
-
Console
public Console(AbstractApplication app)
-
-
Method Detail
-
addContext
public void addContext(ConsoleExecutionContext ctx)
-
removeContext
public void removeContext(ConsoleExecutionContext ctx)
-
switchContext
public void switchContext(ConsoleExecutionContext ctx)
-
switchContext
public void switchContext(String name)
-
setup
protected void setup()
-
getApplication
protected AbstractApplication getApplication()
-
createJLineReader
protected org.jline.reader.LineReader createJLineReader()
-
run
public void run() throws IOException- Throws:
IOException
-
getReader
public org.jline.reader.LineReader getReader()
-
isRunning
public boolean isRunning()
-
quit
public void quit()
-
close
protected boolean close()
-
-