Package com.sshtools.client.tasks
Interface CommandTask.CommandTaskEvent
- Enclosing class:
- CommandTask
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for tasks run on certain command task events.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcommandEvent(CommandTask task, SessionChannelNG session) Command task event occurred.
-
Method Details
-
commandEvent
Command task event occurred. Checked exceptions are caught and rethrown as anIllegalStateException.- Parameters:
task- tasksession- session- Throws:
Exception- on any error
-