Interface IZosUNIXCommand


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

      • 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,
                            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