public class PowerShellResponse extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getCommandOutput()
Retrieves the content returned by the executed command
|
boolean |
isError()
True if the command could not be correctly executed (timeout or unexpected error)
If you want to check if the command itself finished in error, use the method
PowerShell.isLastCommandInError()
instead |
boolean |
isTimeout()
True if the command finished in timeout
|
public boolean isError()
If you want to check if the command itself finished in error, use the method PowerShell.isLastCommandInError()
instead
public String getCommandOutput()
public boolean isTimeout()
Copyright © 2018. All rights reserved.