Interface Node.OutputCallback
- Enclosing class:
Node
public static interface Node.OutputCallback
Callback interface for real-time output streaming during command execution.
Implementations receive stdout and stderr lines as they are produced, enabling real-time display or logging of command output.
-
Method Summary
-
Method Details
-
onStdout
Called when a line is read from standard output.- Parameters:
line- the stdout line (without trailing newline)
-
onStderr
Called when a line is read from standard error.- Parameters:
line- the stderr line (without trailing newline)
-