|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.util.CoordActionsInDateRange
public class CoordActionsInDateRange
This class provides the utility of listing coordinator actions that were executed between a certain date range. This is helpful in turn for retrieving the required logs in that date range.
| Constructor Summary | |
|---|---|
CoordActionsInDateRange()
|
|
| Method Summary | |
|---|---|
static List<String> |
getCoordActionIdsFromDateRange(String jobId,
String range)
Get the coordinator actions for a given date range |
static List<String> |
getCoordActionIdsFromDates(String jobId,
String scope)
Get the list of Coordinator action Ids for given date ranges |
static List<CoordinatorActionBean> |
getCoordActionsFromDateRange(String jobId,
String range)
Get the coordinator actions for a given date range |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoordActionsInDateRange()
| Method Detail |
|---|
public static List<String> getCoordActionIdsFromDates(String jobId,
String scope)
throws XException
jobId - coordinator job idscope - the date range for log. format is comma-separated list of date ranges.
Each date range element is specified with two dates separated by '::'
XException
public static List<CoordinatorActionBean> getCoordActionsFromDateRange(String jobId,
String range)
throws XException
jobId - the coordinator job idrange - the date range separated by '::'
XException
public static List<String> getCoordActionIdsFromDateRange(String jobId,
String range)
throws XException
jobId - the coordinator job idrange - the date range separated by '::'
XException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||