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 java.lang.Object
implements org.apache.tools.ant.taskdefs.ExecuteStreamHandler


Constructor Summary
SimpleExecuteStreamHandler(java.util.List<java.lang.String> outputLog, java.util.List<java.lang.String> errorLog, java.lang.String nameSuffix)
           
 
Method Summary
 void setProcessErrorStream(java.io.InputStream inputStream)
           
 void setProcessInputStream(java.io.OutputStream outputStream)
           
 void setProcessOutputStream(java.io.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
                                  java.util.List<java.lang.String> outputLog,
                                  @Nullable
                                  java.util.List<java.lang.String> errorLog,
                                  java.lang.String nameSuffix)
Method Detail

setProcessInputStream

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

setProcessErrorStream

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

setProcessOutputStream

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

start

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

stop

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


Copyright © 2012 Atlassian. All Rights Reserved.