Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.