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 void
addContext(ConsoleExecutionContext ctx)
protected boolean
close()
protected AbstractApplication
getApplication()
jline.ConsoleReader
getReader()
protected void
initJLine()
boolean
isRunning()
void
quit()
void
removeContext(ConsoleExecutionContext ctx)
void
run()
protected void
setup()
void
switchContext(String name)
void
switchContext(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()
-
initJLine
protected void initJLine()
-
run
public void run() throws IOException
- Throws:
IOException
-
getReader
public jline.ConsoleReader getReader()
-
isRunning
public boolean isRunning()
-
quit
public void quit()
-
close
protected boolean close()
-
-