Interface Streams


  • public interface Streams
    Streams is a container for the standard input, output and error streams of a job. Note that these standard streams are only available for interactive jobs.
    Since:
    1.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getJobIdentifier()
      Get the identifier of the job for which this Streams was created.
      java.io.InputStream getStderr()
      Returns the standard error stream of job.
      java.io.OutputStream getStdin()
      Returns the standard input stream of job.
      java.io.InputStream getStdout()
      Returns the standard output stream of job.
    • Method Detail

      • getJobIdentifier

        java.lang.String getJobIdentifier()
        Get the identifier of the job for which this Streams was created.
        Returns:
        the identifier of the ob.
      • getStdout

        java.io.InputStream getStdout()
        Returns the standard output stream of job.
        Returns:
        the standard output stream of job.
      • getStderr

        java.io.InputStream getStderr()
        Returns the standard error stream of job.
        Returns:
        the standard error stream of job.
      • getStdin

        java.io.OutputStream getStdin()
        Returns the standard input stream of job.
        Returns:
        the standard input stream of this job.