public class CoordActionsInDateRange extends Object
| Constructor and Description |
|---|
CoordActionsInDateRange() |
| Modifier and Type | Method and Description |
|---|---|
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,
boolean active)
Get the coordinator actions for a given date range
|
static Date |
getCoordActionsLastModifiedDate(String jobId,
String startAction,
String endAction)
Gets the coordinator actions last modified date for range, if any action is running it return new date
|
public CoordActionsInDateRange()
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 '::'XExceptionpublic static List<CoordinatorActionBean> getCoordActionsFromDateRange(String jobId, String range, boolean active) throws XException
jobId - the coordinator job idrange - the date range separated by '::'XExceptionpublic static List<String> getCoordActionIdsFromDateRange(String jobId, String range) throws XException
jobId - the coordinator job idrange - the date range separated by '::'XExceptionpublic static Date getCoordActionsLastModifiedDate(String jobId, String startAction, String endAction) throws CommandException
jobId - the job idstartAction - the start actionendAction - the end actionCommandException - the command exceptionCopyright © 2015 Apache Software Foundation. All Rights Reserved.