Interface SyncExecutionResult

All Known Implementing Classes:
SyncExecutionResultDefault

public interface SyncExecutionResult
The result of the syncronous execution of an external program, made using executeSync.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The exit code of the program.
    The System standard errors produced by the executed program.
    The System standard output produced by the executed program.
  • Method Details

    • getExitCode

      int getExitCode()
      The exit code of the program.
    • getSystemOutLines

      List<String> getSystemOutLines()
      The System standard output produced by the executed program.

      Note that those lines will be available only if the ExecutionOutputStrategy.BUFFER strategy is used!

    • getSystemErrLines

      List<String> getSystemErrLines()
      The System standard errors produced by the executed program.

      Note that those lines will be available only if the ExecutionOutputStrategy.BUFFER strategy is used!