Class SimpleExecuteStreamHandler

  • All Implemented Interfaces:
    org.apache.tools.ant.taskdefs.ExecuteStreamHandler

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

      • SimpleExecuteStreamHandler

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

      • 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