Interface PipeCommandOutput

All Superinterfaces:
Callable<CommandOutput>, CommandOutput
All Known Implementing Classes:
PipeCommandOutputImpl

public interface PipeCommandOutput extends CommandOutput
Pipes the read data from the output of the command to a stream.
Since:
3.1
Author:
Erwin Mueller, erwin.mueller@deventm.org
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setBufferSize(int size)
    Sets the buffer size.
    void
    Sets the stream that is filled with the piped to the output of the command.

    Methods inherited from interface com.anrisoftware.globalpom.exec.external.core.CommandOutput

    call, clone, setInput
  • Method Details

    • setPipe

      void setPipe(OutputStream stream)
      Sets the stream that is filled with the piped to the output of the command.
      Parameters:
      stream - the OutputStream.
    • setBufferSize

      void setBufferSize(int size)
      Sets the buffer size.
      Parameters:
      size - the size in bytes.