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
    Modifier and Type
    Field
    Description
    protected Session
     

    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

    Constructors
    Constructor
    Description
    PermazenExecSession(PermazenExec exec, org.dellroad.jct.core.ExecRequest request, org.dellroad.jct.core.simple.SimpleCommandSupport.FoundCommand command)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Get the Permazen Session associated with this instance.

    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

      protected Session 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

      public PermazenExec getOwner()
      Specified by:
      getOwner in interface org.dellroad.jct.core.ConsoleSession<org.dellroad.jct.core.Exec,org.dellroad.jct.core.ExecRequest>
      Overrides:
      getOwner in class org.dellroad.jct.core.simple.SimpleExec.Session
    • getPermazenSession

      public Session getPermazenSession()
      Description copied from interface: HasPermazenSession
      Get the Permazen Session associated with this instance.
      Specified by:
      getPermazenSession in interface HasPermazenSession