Package org.sentrysoftware.ssh
Class SshClient.CommandResult
java.lang.Object
org.sentrysoftware.ssh.SshClient.CommandResult
- Enclosing class:
- SshClient
Represents the result of a command execution
- Author:
- bertrand
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloat
How much time was taken by the execution itself (not counting the connection time), in secondsThe exit code (status) returned by the command (process return code).The result of the command (stdout and stderr is merged into result)boolean
Whether the command was successful or not -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
success
public boolean successWhether the command was successful or not -
executionTime
public float executionTimeHow much time was taken by the execution itself (not counting the connection time), in seconds -
exitStatus
The exit code (status) returned by the command (process return code).null
if unsupported by the remote platform. -
result
The result of the command (stdout and stderr is merged into result)
-
-
Constructor Details
-
CommandResult
public CommandResult()
-