org.gradle.util.exec
Interface ExecOutputHandle

All Known Implementing Classes:
StreamWriterExecOutputHandle

public interface ExecOutputHandle


Method Summary
 void endOutput()
          Called when the end of output from an exec'd process has been reached.
 boolean execOutputHandleError(java.lang.Throwable t)
          Called when an exeception occurs reading the output from an exec'd process.
 void handleOutputLine(java.lang.String outputLine)
          Called when a line of output has been read from an exec'd process.
 

Method Detail

handleOutputLine

void handleOutputLine(java.lang.String outputLine)
                      throws java.io.IOException
Called when a line of output has been read from an exec'd process.

Throws:
java.io.IOException

endOutput

void endOutput()
               throws java.io.IOException
Called when the end of output from an exec'd process has been reached.

Throws:
java.io.IOException

execOutputHandleError

boolean execOutputHandleError(java.lang.Throwable t)
Called when an exeception occurs reading the output from an exec'd process.

Returns:
true if output handling should continue, false if output handling should end.