Class SshRequest

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

public class SshRequest extends Object implements SshMessage
POJO encapsulating an SSH request. It is immutable.
Since:
1.3
Author:
Roland Huss
  • Field Details

    • command

      protected String command
    • stdin

      protected String stdin
  • Constructor Details

    • SshRequest

      public SshRequest()
      Default constructor.
    • SshRequest

      public SshRequest(String pCommand, String pInput)
      Constructor using fields.
      Parameters:
      pCommand -
      pInput -
  • Method Details

    • getCommand

      public String getCommand()
      Gets the command.
      Returns:
      the command the command to get.
    • getStdin

      public String getStdin()
      Gets the stdin.
      Returns:
      the stdin the stdin to get.