org.apache.commons.exec
Interface ExecuteResultHandler


public interface ExecuteResultHandler

The callback handlers for asynchronous execution.

See Also:
Executor.execute(CommandLine, java.util.Map, ExecuteResultHandler)

Method Summary
 void onProcessComplete(int exitValue)
          The asynchronous exection completed.
 void onProcessFailed(ExecuteException e)
          The asynchronous exection failed.
 

Method Detail

onProcessComplete

void onProcessComplete(int exitValue)
The asynchronous exection completed.

Parameters:
exitValue - the exit value of the subprocess

onProcessFailed

void onProcessFailed(ExecuteException e)
The asynchronous exection failed.

Parameters:
e - the ExecuteException containing the root cause


Copyright © 2010 Apache Software Foundation. All Rights Reserved.