commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sgoes...@apache.org
Subject svn commit: r614682 - /commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteResultHandler.java
Date Wed, 23 Jan 2008 21:27:39 GMT
Author: sgoeschl
Date: Wed Jan 23 13:27:38 2008
New Revision: 614682

URL: http://svn.apache.org/viewvc?rev=614682&view=rev
Log:
Updated the javadocs

Modified:
    commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteResultHandler.java

Modified: commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteResultHandler.java
URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteResultHandler.java?rev=614682&r1=614681&r2=614682&view=diff
==============================================================================
--- commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteResultHandler.java
(original)
+++ commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteResultHandler.java
Wed Jan 23 13:27:38 2008
@@ -18,8 +18,24 @@
 
 package org.apache.commons.exec;
 
+/**
+ * The callback handlers for asynchronous execution.
+ *
+ * @see org.apache.commons.exec.Executor#execute(CommandLine, java.util.Map, ExecuteResultHandler)

+ */
 public interface ExecuteResultHandler {
 
+  /**
+   * The asynchronous exection completed.
+   *
+   * @param exitValue the exit value of the subprocess
+   */
     void onProcessComplete(int exitValue);
+
+  /**
+   * The asynchronous exection failed.
+   *
+   * @param e the <code>ExecuteException</code> containing the root cause
+   */
     void onProcessFailed(ExecuteException e);
 }



Mime
View raw message