Repository: oozie
Updated Branches:
  refs/heads/master aff5941f4 -> 5afd961d9


amendment to OOZIE-1754


Project: http://git-wip-us.apache.org/repos/asf/oozie/repo
Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/5afd961d
Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/5afd961d
Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/5afd961d

Branch: refs/heads/master
Commit: 5afd961d9d4500517a8955a2ca3ad6bf39dc8b87
Parents: aff5941
Author: egashira <[email protected]>
Authored: Wed Apr 23 14:47:31 2014 -0700
Committer: egashira <[email protected]>
Committed: Wed Apr 23 14:47:31 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/oozie/client/OozieClient.java    | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oozie/blob/5afd961d/client/src/main/java/org/apache/oozie/client/OozieClient.java
----------------------------------------------------------------------
diff --git a/client/src/main/java/org/apache/oozie/client/OozieClient.java 
b/client/src/main/java/org/apache/oozie/client/OozieClient.java
index 129579a..e5afdc7 100644
--- a/client/src/main/java/org/apache/oozie/client/OozieClient.java
+++ b/client/src/main/java/org/apache/oozie/client/OozieClient.java
@@ -1196,6 +1196,21 @@ public class OozieClient {
      * @param filter filter the status filter
      * @param start starting index in the list of actions belonging to the job
      * @param len number of actions to be returned
+     * @return the job info.
+     * @throws OozieClientException thrown if the job info could not be 
retrieved.
+     */
+    public CoordinatorJob getCoordJobInfo(String jobId, String filter, int 
start, int len)
+            throws OozieClientException {
+        return new CoordJobInfo(jobId, filter, start, len, "asc").call();
+    }
+
+    /**
+     * Get the info of a coordinator job and subset actions.
+     *
+     * @param jobId job Id.
+     * @param filter filter the status filter
+     * @param start starting index in the list of actions belonging to the job
+     * @param len number of actions to be returned
      * @param order order to list coord actions (e.g, desc)
      * @return the job info.
      * @throws OozieClientException thrown if the job info could not be 
retrieved.

Reply via email to