Package zowe.client.sdk.zosuss.method
Class IssueUss
- java.lang.Object
-
- zowe.client.sdk.zosuss.method.IssueUss
-
public class IssueUss extends Object
IssueUss Class provides a way to execute USS commands via SSH connection- Version:
- 5.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description IssueUss(SshConnection connection)Shell constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringissueCommand(String command, int timeout)Executes USS command(s) specified within a string value
-
-
-
Constructor Detail
-
IssueUss
public IssueUss(SshConnection connection)
Shell constructor- Parameters:
connection- SshConnection object
-
-
Method Detail
-
issueCommand
public String issueCommand(String command, int timeout) throws IssueUssException
Executes USS command(s) specified within a string value- Parameters:
command- string value contains one or more USS commandstimeout- int value in milliseconds for timeout duration on session connection- Returns:
- string output value
- Throws:
IssueUssException- SSH Unix System Services error request
-
-