public interface ProcessOutputHandler
Modifier and Type | Method and Description |
---|---|
ProcessOutput |
createOutput()
Creates a ProcessOutput to be used by the process executor.
|
void |
handleOutput(ProcessOutput processOutput)
Handles the output after the process has run.
|
@NonNull ProcessOutput createOutput()
void handleOutput(@NonNull ProcessOutput processOutput) throws ProcessException
ProcessExecutor.execute(ProcessInfo, ProcessOutputHandler)
returns.processOutput
- the process output to handleProcessException