Uses of Class
io.permazen.cli.Session
Package
Description
Components that support integrating Permazen into a Java Console Toolkit console.
Permazen CLI application commands.
Permazen CLI
Command
related classes, including pre-defined commands.Classes for parsing command line flags in order to configure a Permazen command line interface (CLI) session.
Classes relating to integration betweeen the Permazen command line interface (CLI) and the
Java Console Toolkit's
jshell
command.Permazen parsing related classes.
CLI commands relating to
Jsck
, the Permazen key/value database consistency checker.Raft-related CLI
Command
s.-
Uses of Session in io.permazen.cli
Modifier and TypeFieldDescriptionprotected final Session
PermazenExecRequest.session
protected Session
PermazenExecSession.session
protected final Session
PermazenShellRequest.session
protected Session
PermazenShellSession.session
Modifier and TypeMethodDescriptionprotected Session
PermazenExec.createSession
(PermazenExecSession execSession) protected Session
PermazenShell.createSession
(PermazenShellSession shellSession) HasPermazenSession.getPermazenSession()
Get the PermazenSession
associated with this instance.PermazenExecRequest.getPermazenSession()
PermazenExecSession.getPermazenSession()
PermazenShellRequest.getPermazenSession()
PermazenShellSession.getPermazenSession()
Modifier and TypeMethodDescriptiondefault TransactionConfig
Session.TransactionalAction.getTransactionConfig
(Session session) Get the configuration for the new Core API transaction.default SessionMode
Session.TransactionalAction.getTransactionMode
(Session session) Get theSessionMode
corresponding to the transaction that should be opened.Parse command line parameters.void
Perform some action using the givenSession
.ModifierConstructorDescriptionPermazenExecRequest
(Session session, InputStream in, PrintStream out, PrintStream err, Map<String, String> env, String command) PermazenExecRequest
(Session session, InputStream in, PrintStream out, PrintStream err, Map<String, String> env, List<String> command) PermazenShellRequest
(Session session, org.jline.terminal.Terminal terminal, List<String> args, Map<String, String> env) -
Uses of Session in io.permazen.cli.app.cmd
-
Uses of Session in io.permazen.cli.cmd
Modifier and TypeMethodDescriptionint
Execute this command.int
Execute this command.protected abstract Session.Action
Process command line parameters and return action.io.permazen.cli.cmd.DecodeKeyCommand.DecodeKeyAction
default SessionMode
AbstractKVCommand.KVAction.getTransactionMode
(Session session) void
-
Uses of Session in io.permazen.cli.config
Modifier and TypeMethodDescriptionprotected void
CliConfig.configureSession
(Session session) Configure a newSession
.protected void
CoreApiCliConfig.configureSession
(Session session) protected void
KeyValueCliConfig.configureSession
(Session session) protected void
PermazenCliConfig.configureSession
(Session session) -
Uses of Session in io.permazen.cli.jshell
-
Uses of Session in io.permazen.cli.parse
Modifier and TypeMethodDescriptionstatic ObjInfo
ObjInfo.getObjInfo
(Session session, ObjId id) Get object meta-data.Parse value from the given text.static Field<?>
ParseUtil.resolveField
(Session session, ObjId id, String fieldName) Locate the field with the given name in the specified object.static PermazenField
ParseUtil.resolveJField
(Session session, ObjId id, String name) Locate thePermazenField
with the given name in the specified object. -
Uses of Session in io.permazen.jsck.cmd
-
Uses of Session in io.permazen.kv.raft.cmd
Modifier and TypeMethodDescriptionfinal void
protected abstract void
AbstractRaftCommand.RaftAction.run
(Session session, RaftKVDatabase db) final void
AbstractTransactionRaftCommand.RaftTransactionAction.run
(Session session, RaftKVDatabase db) protected abstract void
AbstractTransactionRaftCommand.RaftTransactionAction.run
(Session session, RaftKVTransaction tx)