Interface PipeCommandInput

All Superinterfaces:
Callable<CommandInput>, CommandInput
All Known Implementing Classes:
PipeCommandInputImpl

public interface PipeCommandInput extends CommandInput
Pipes the read data from one stream to the standard input of the command.
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 read and piped to the standard input of the command.

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

    call, clone, setOutput
  • Method Details

    • setPipe

      void setPipe(InputStream stream)
      Sets the stream that is read and piped to the standard input of the command.
      Parameters:
      stream - the InputStream.
    • setBufferSize

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