Uses of Class
com.sshtools.client.tasks.CommandTask.CommandTaskBuilder
Packages that use CommandTask.CommandTaskBuilder
-
Uses of CommandTask.CommandTaskBuilder in com.sshtools.client.tasks
Methods in com.sshtools.client.tasks that return CommandTask.CommandTaskBuilderModifier and TypeMethodDescriptionCommandTask.CommandTaskBuilder.create()Create a newCommandTask.CommandTaskBuilder.CommandTask.CommandTaskBuilder.onBeforeExecute(CommandTask.CommandTaskEvent onBeforeExecute) Set a callback to run before the command is executed.CommandTask.CommandTaskBuilder.onBeforeTask(CommandTask.CommandTaskEvent onOpen) Set a callback to run when the command has been executed.CommandTask.CommandTaskBuilder.onClose(CommandTask.CommandTaskEvent onClose) Set a callback to run when the command is closed.CommandTask.CommandTaskBuilder.onTask(CommandTask.CommandTaskEvent onExecute) Set a callback to run when the command has been executed.CommandTask.CommandTaskBuilder.withAutoConsume()Set to auto-consume input.CommandTask.CommandTaskBuilder.withAutoConsume(boolean autoConsume) Set the whether to auto-consume input.CommandTask.CommandTaskBuilder.withColumns(int cols) Set the terminal width in columns to use when allocating a PTY.CommandTask.CommandTaskBuilder.withCommand(String command) Set the command to run.CommandTask.CommandTaskBuilder.withEncoding(String encoding) Set the character encoding to use for transferring string content.CommandTask.CommandTaskBuilder.withEncoding(Charset encoding) Set the character encoding to use for transferring string content.CommandTask.CommandTaskBuilder.withModes(PseudoTerminalModes modes) Set the terminal modes to use when allocating a PTY.CommandTask.CommandTaskBuilder.withoutPty()Do not to allocate a Pty.CommandTask.CommandTaskBuilder.withPty(boolean withPty) Set whether or not to allocate a Pty.CommandTask.CommandTaskBuilder.withRows(int rows) Set the terminal height in rows to use when allocating a PTY.CommandTask.CommandTaskBuilder.withTermType(String termType) Set the terminal type to use when allocating a PTY.CommandTask.CommandTaskBuilder.withTermType(Optional<String> termType) Set the terminal type to use when allocating a PTY.