Class SshResponse

java.lang.Object
org.citrusframework.ssh.model.SshResponse
All Implemented Interfaces:
SshMessage

public class SshResponse extends Object implements SshMessage
POJO encapsulate a SSH response. It is immutable.
Since:
1.3
Author:
Roland Huss
  • Field Details

    • stdout

      protected String stdout
    • stderr

      protected String stderr
    • exit

      protected int exit
  • Constructor Details

    • SshResponse

      public SshResponse()
      Default constructor.
    • SshResponse

      public SshResponse(String pStdout, String pStderr, int pExit)
      Default constructor using fields.
      Parameters:
      pStdout -
      pStderr -
      pExit -
  • Method Details

    • getStdout

      public String getStdout()
      Gets the stdout.
      Returns:
      the stdout the stdout to get.
    • getStderr

      public String 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.