Package org.citrusframework.ssh.model
Class SshResponse
java.lang.Object
org.citrusframework.ssh.model.SshResponse
- All Implemented Interfaces:
SshMessage
POJO encapsulate a SSH response. It is immutable.
- Since:
- 1.3
- Author:
- Roland Huss
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.SshResponse(String pStdout, String pStderr, int pExit) Default constructor using fields. -
Method Summary
-
Field Details
-
stdout
-
stderr
-
exit
protected int exit
-
-
Constructor Details
-
SshResponse
public SshResponse()Default constructor. -
SshResponse
Default constructor using fields.- Parameters:
pStdout-pStderr-pExit-
-
-
Method Details
-
getStdout
Gets the stdout.- Returns:
- the stdout the stdout to get.
-
getStderr
Gets the stderr.- Returns:
- the stderr the stderr to get.
-
getExit
public int getExit()Gets the exit.- Returns:
- the exit the exit to get.
-