com.carrotsearch.ant.tasks.junit4
Class LocalSlaveStreamHandler
java.lang.Object
com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
- All Implemented Interfaces:
- org.apache.tools.ant.taskdefs.ExecuteStreamHandler
public class LocalSlaveStreamHandler
- extends Object
- implements org.apache.tools.ant.taskdefs.ExecuteStreamHandler
Establish event passing with a subprocess and pump events to the bus.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalSlaveStreamHandler
public LocalSlaveStreamHandler(EventBus eventBus,
ClassLoader classLoader,
PrintStream warnStream,
InputStream eventStream,
OutputStream sysout,
OutputStream syserr,
long heartbeat,
RandomAccessFile streamsBuffer)
setProcessErrorStream
public void setProcessErrorStream(InputStream is)
throws IOException
- Specified by:
setProcessErrorStream in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler
- Throws:
IOException
setProcessOutputStream
public void setProcessOutputStream(InputStream is)
throws IOException
- Specified by:
setProcessOutputStream in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler
- Throws:
IOException
setProcessInputStream
public void setProcessInputStream(OutputStream os)
throws IOException
- Specified by:
setProcessInputStream 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 © 2011-2012 Carrot Search s.c.. All Rights Reserved.