com.android.ide.common.process
Interface ProcessOutputHandler

All Known Implementing Classes:
BaseProcessOutputHandler, CachedProcessOutputHandler, LoggedProcessOutputHandler, ParsingProcessOutputHandler

public interface ProcessOutputHandler

Handler for the Process output.


Method Summary
 ProcessOutput createOutput()
          Creates a ProcessOutput to be used by the process executor.
 void handleOutput(ProcessOutput processOutput)
          Handles the output after the process has run.
 

Method Detail

createOutput

@NonNull
ProcessOutput createOutput()
Creates a ProcessOutput to be used by the process executor.


handleOutput

void handleOutput(@NonNull
                  ProcessOutput processOutput)
                  throws ProcessException
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