Package org.citrusframework.ssh.model
Class SshRequest
java.lang.Object
org.citrusframework.ssh.model.SshRequest
- All Implemented Interfaces:
SshMessage
POJO encapsulating an SSH request. It is immutable.
- Since:
- 1.3
- Author:
- Roland Huss
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.SshRequest(String pCommand, String pInput) Constructor using fields. -
Method Summary
-
Field Details
-
command
-
stdin
-
-
Constructor Details
-
SshRequest
public SshRequest()Default constructor. -
SshRequest
Constructor using fields.- Parameters:
pCommand-pInput-
-
-
Method Details
-
getCommand
Gets the command.- Returns:
- the command the command to get.
-
getStdin
Gets the stdin.- Returns:
- the stdin the stdin to get.
-