Uses of Interface
com.sshtools.client.tasks.CommandTask.CommandTaskEvent
Packages that use CommandTask.CommandTaskEvent
-
Uses of CommandTask.CommandTaskEvent in com.sshtools.client.tasks
Methods in com.sshtools.client.tasks with parameters of type CommandTask.CommandTaskEventModifier and TypeMethodDescriptionCommandTask.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.