com.android.ide.common.process
Class LoggedProcessOutputHandler

java.lang.Object
  extended by com.android.ide.common.process.BaseProcessOutputHandler
      extended by com.android.ide.common.process.LoggedProcessOutputHandler
All Implemented Interfaces:
ProcessOutputHandler

public class LoggedProcessOutputHandler
extends BaseProcessOutputHandler

Implementation of ProcessOutputHandler that dumps the output onto an ILogger object.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.android.ide.common.process.BaseProcessOutputHandler
BaseProcessOutputHandler.BaseProcessOutput
 
Constructor Summary
LoggedProcessOutputHandler(com.android.utils.ILogger logger)
           
 
Method Summary
 void handleOutput(ProcessOutput processOutput)
          Handles the output after the process has run.
 
Methods inherited from class com.android.ide.common.process.BaseProcessOutputHandler
createOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggedProcessOutputHandler

public LoggedProcessOutputHandler(@NonNull
                                  com.android.utils.ILogger logger)
Method Detail

handleOutput

public void handleOutput(@NonNull
                         ProcessOutput processOutput)
                  throws ProcessException
Description copied from interface: ProcessOutputHandler
Handles the output after the process has run. This is called by the process executor before ProcessExecutor.execute(ProcessInfo, ProcessOutputHandler) returns.

Parameters:
processOutput - the process output to handle
Throws:
ProcessException