public class TerminalResponse extends Object
| Constructor and Description |
|---|
TerminalResponse(int exitStatus,
String output)
Basic Constructor accepting the exit status and the output data.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getExitStatus()
Retrieves the terminal's exist status.
|
String |
getOutput()
Retrieves the output generated by the terminal.
|
public TerminalResponse(int exitStatus,
String output)
exitStatus - The terminal's exit status.output - The output generated by the terminalpublic int getExitStatus()
public String getOutput()
Copyright © 2019. All rights reserved.