com.atlassian.bamboo.command
Class SimpleExecuteStreamHandler

java.lang.Object
  extended by 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 Summary
SimpleExecuteStreamHandler(List<String> outputLog, List<String> errorLog, String nameSuffix)
           
 
Method Summary
 void setProcessErrorStream(InputStream inputStream)
           
 void setProcessInputStream(OutputStream outputStream)
           
 void setProcessOutputStream(InputStream inputStream)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleExecuteStreamHandler

public SimpleExecuteStreamHandler(@Nullable
                                  List<String> outputLog,
                                  @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


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.