Interface IZosUNIXCommand


public interface IZosUNIXCommand
Provides the test code access to zOS UNIX Commands via the zOS Manager
  • Method Details

    • issueCommand

      String issueCommand(@NotNull @NotNull String command) throws ZosUNIXCommandException
      Issue a zOS UNIX command
      Parameters:
      command - The command
      Returns:
      the UNIX command response
      Throws:
      ZosUNIXCommandException
    • issueCommand

      String issueCommand(@NotNull @NotNull String command, long timeout) throws ZosUNIXCommandException
      Issue a zOS UNIX command with a timeout
      Parameters:
      command - The command
      timeout - 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 command
      credentials - 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 command
      timeout - time (in milliseconds) to wait with no new output appearing before timing out
      credentials - the credentials
      Returns:
      the UNIX command response
      Throws:
      ZosUNIXCommandException