Uses of Class
com.sshtools.client.tasks.ShellTask.ShellTaskBuilder
Packages that use ShellTask.ShellTaskBuilder
-
Uses of ShellTask.ShellTaskBuilder in com.sshtools.client.tasks
Methods in com.sshtools.client.tasks that return ShellTask.ShellTaskBuilderModifier and TypeMethodDescriptionstatic ShellTask.ShellTaskBuilder
ShellTask.ShellTaskBuilder.create()
Create a newShellTask.ShellTaskBuilder
.ShellTask.ShellTaskBuilder.onBeforeOpen
(ShellTask.ShellTaskEvent onStartShell) Set a callback to run before the opening of the shell.ShellTask.ShellTaskBuilder.onBeforeTask
(ShellTask.ShellTaskEvent onBeforeTask) Set a callback to run when the command has been executed.ShellTask.ShellTaskBuilder.onClose
(ShellTask.ShellTaskEvent onClose) Set a callback to run when the shell is closed.ShellTask.ShellTaskBuilder.onOpen
(ShellTask.ShellTaskEvent onTask) Deprecated.ShellTask.ShellTaskBuilder.onTask
(ShellTask.ShellTaskEvent onTask) Set a callback to run when the command has been executed.ShellTask.ShellTaskBuilder.withAutoConsume()
Set to auto-consume input.ShellTask.ShellTaskBuilder.withAutoConsume
(boolean autoConsume) Set the whether to auto-consume input.ShellTask.ShellTaskBuilder.withColumns
(int cols) Set the terminal width in columns to use when allocating a PTY.ShellTask.ShellTaskBuilder.withModes
(PseudoTerminalModes modes) Set the terminal modes to use when allocating a PTY.ShellTask.ShellTaskBuilder.withoutPty()
Do not to allocate a Pty.ShellTask.ShellTaskBuilder.withPty
(boolean withPty) Set whether or not to allocate a Pty.ShellTask.ShellTaskBuilder.withRows
(int rows) Set the terminal height in rows to use when allocating a PTY.ShellTask.ShellTaskBuilder.withTermType
(String termType) Set the terminal type to use when allocating a PTY.ShellTask.ShellTaskBuilder.withTermType
(Optional<String> termType) Set the terminal type to use when allocating a PTY.