Package io.permazen.cli
Class PermazenExecSession
java.lang.Object
org.dellroad.jct.core.AbstractConsoleSession<org.dellroad.jct.core.Exec,org.dellroad.jct.core.ExecRequest>
org.dellroad.jct.core.AbstractExecSession
org.dellroad.jct.core.simple.SimpleExec.Session
io.permazen.cli.PermazenExecSession
- All Implemented Interfaces:
HasPermazenSession
,org.dellroad.jct.core.ConsoleSession<org.dellroad.jct.core.Exec,
,org.dellroad.jct.core.ExecRequest> org.dellroad.jct.core.ExecSession
public class PermazenExecSession
extends org.dellroad.jct.core.simple.SimpleExec.Session
implements HasPermazenSession
A
SimpleExec.Session
with an associated Permazen database.-
Field Summary
Fields inherited from class org.dellroad.jct.core.simple.SimpleExec.Session
command
Fields inherited from class org.dellroad.jct.core.AbstractConsoleSession
owner, request
-
Constructor Summary
ConstructorDescriptionPermazenExecSession
(PermazenExec exec, org.dellroad.jct.core.ExecRequest request, org.dellroad.jct.core.simple.SimpleCommandSupport.FoundCommand command) -
Method Summary
Methods inherited from class org.dellroad.jct.core.simple.SimpleExec.Session
doExecute
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.ExecSession
getErrorStream, getInputStream, getOutputStream
-
Field Details
-
session
-
-
Constructor Details
-
PermazenExecSession
public PermazenExecSession(PermazenExec exec, org.dellroad.jct.core.ExecRequest request, org.dellroad.jct.core.simple.SimpleCommandSupport.FoundCommand command) throws IOException - Throws:
IOException
-
-
Method Details
-
getOwner
- Specified by:
getOwner
in interfaceorg.dellroad.jct.core.ConsoleSession<org.dellroad.jct.core.Exec,
org.dellroad.jct.core.ExecRequest> - Overrides:
getOwner
in classorg.dellroad.jct.core.simple.SimpleExec.Session
-
getPermazenSession
Description copied from interface:HasPermazenSession
Get the PermazenSession
associated with this instance.- Specified by:
getPermazenSession
in interfaceHasPermazenSession
-