Package dev.galasa.zosunixcommand
Interface IZosUNIXCommand
public interface IZosUNIXCommand
Provides the test code access to zOS UNIX Commands via the zOS Manager
-
Method Summary
Modifier and TypeMethodDescriptionissueCommand
(@NotNull String command) Issue a zOS UNIX commandissueCommand
(@NotNull String command, long timeout) Issue a zOS UNIX command with a timeoutissueCommand
(@NotNull String command, long timeout, ICredentials credentials) Issue a zOS UNIX command with specified credentials and timeoutissueCommand
(@NotNull String command, ICredentials credentials) Issue a zOS UNIX command with specified credentials
-
Method Details
-
issueCommand
Issue a zOS UNIX command- Parameters:
command
- The command- Returns:
- the UNIX command response
- Throws:
ZosUNIXCommandException
-
issueCommand
Issue a zOS UNIX command with a timeout- Parameters:
command
- The commandtimeout
- time (in milliseconds) to wait with no new output appearing before timing out- Returns:
- the UNIX command response
- Throws:
ZosUNIXCommandException
-
issueCommand
String issueCommand(@NotNull @NotNull String command, ICredentials credentials) throws ZosUNIXCommandException Issue a zOS UNIX command with specified credentials- Parameters:
command
- The commandcredentials
- the credentials- Returns:
- the UNIX command response
- Throws:
ZosUNIXCommandException
-
issueCommand
String issueCommand(@NotNull @NotNull String command, long timeout, ICredentials credentials) throws ZosUNIXCommandException Issue a zOS UNIX command with specified credentials and timeout- Parameters:
command
- The commandtimeout
- time (in milliseconds) to wait with no new output appearing before timing outcredentials
- the credentials- Returns:
- the UNIX command response
- Throws:
ZosUNIXCommandException
-