Class SimpleExecuteStreamHandler

java.lang.Object
com.atlassian.bamboo.command.SimpleExecuteStreamHandler
All Implemented Interfaces:
org.apache.tools.ant.taskdefs.ExecuteStreamHandler

public class SimpleExecuteStreamHandler extends Object implements org.apache.tools.ant.taskdefs.ExecuteStreamHandler
  • Constructor Details

    • SimpleExecuteStreamHandler

      public SimpleExecuteStreamHandler(@Nullable @Nullable List<String> outputLog, @Nullable @Nullable List<String> errorLog, String nameSuffix)
  • Method Details

    • setProcessInputStream

      public void setProcessInputStream(OutputStream outputStream) throws IOException
      Specified by:
      setProcessInputStream in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler
      Throws:
      IOException
    • setProcessErrorStream

      public void setProcessErrorStream(InputStream inputStream) throws IOException
      Specified by:
      setProcessErrorStream in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler
      Throws:
      IOException
    • setProcessOutputStream

      public void setProcessOutputStream(InputStream inputStream) throws IOException
      Specified by:
      setProcessOutputStream in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler
      Throws:
      IOException
    • start

      public void start() throws IOException
      Specified by:
      start in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler
      Throws:
      IOException
    • stop

      public void stop()
      Specified by:
      stop in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler