public class ExecResult extends Object
Disposition.MEMORY is elected) the
captured contents of the interleaved standard output and error
streams.| Constructor and Description |
|---|
ExecResult(int exitCode,
byte[] output)
Creates a new container for the given exit code and captured
output.
|
public ExecResult(int exitCode,
byte[] output)
exitCode - The exit code.output - The captured output. It may be null if Disposition.MEMORY is not elected.public int getExitCode()
public byte[] getOutput()
Disposition.MEMORY is not elected.Copyright © 2015. All Rights Reserved.