Package io.permazen.cli
Class PermazenShellSession
java.lang.Object
org.dellroad.jct.core.AbstractConsoleSession<org.dellroad.jct.core.Shell,org.dellroad.jct.core.ShellRequest>
org.dellroad.jct.core.AbstractShellSession
org.dellroad.jct.core.simple.SimpleShell.Session
io.permazen.cli.PermazenShellSession
- All Implemented Interfaces:
HasPermazenSession
,org.dellroad.jct.core.ConsoleSession<org.dellroad.jct.core.Shell,
,org.dellroad.jct.core.ShellRequest> org.dellroad.jct.core.ShellSession
public class PermazenShellSession
extends org.dellroad.jct.core.simple.SimpleShell.Session
implements HasPermazenSession
A
ShellSession
that with an associated Permazen database.-
Field Summary
Fields inherited from class org.dellroad.jct.core.simple.SimpleShell.Session
reader
Fields inherited from class org.dellroad.jct.core.AbstractShellSession
exitValue, in, out
Fields inherited from class org.dellroad.jct.core.AbstractConsoleSession
owner, request
-
Constructor Summary
ConstructorDescriptionPermazenShellSession
(PermazenShell shell, org.dellroad.jct.core.ShellRequest request, org.jline.reader.LineReader reader) -
Method Summary
Methods inherited from class org.dellroad.jct.core.simple.SimpleShell.Session
commandLoop, doExecute, execute, getContinuationPrompt, getNormalPrompt
Methods inherited from class org.dellroad.jct.core.AbstractShellSession
buildInputStream, buildOutputStream, getExitValue, getInputStream, getOutputStream, setExitValue
Methods inherited from class org.dellroad.jct.core.AbstractConsoleSession
doInterrupt, execute, getRequest, interrupt
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.dellroad.jct.core.ConsoleSession
execute, getRequest, interrupt
Methods inherited from interface org.dellroad.jct.core.ShellSession
getErrorStream
-
Field Details
-
session
-
-
Constructor Details
-
PermazenShellSession
public PermazenShellSession(PermazenShell shell, org.dellroad.jct.core.ShellRequest request, org.jline.reader.LineReader reader) throws IOException - Throws:
IOException
-
-
Method Details
-
getOwner
- Specified by:
getOwner
in interfaceorg.dellroad.jct.core.ConsoleSession<org.dellroad.jct.core.Shell,
org.dellroad.jct.core.ShellRequest> - Overrides:
getOwner
in classorg.dellroad.jct.core.simple.SimpleShell.Session
-
getGreeting
- Overrides:
getGreeting
in classorg.dellroad.jct.core.simple.SimpleShell.Session
-
getPermazenSession
Description copied from interface:HasPermazenSession
Get the PermazenSession
associated with this instance.- Specified by:
getPermazenSession
in interfaceHasPermazenSession
-