|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.command.Command<T,WorkflowStore>
org.apache.oozie.command.wf.WorkflowCommand<WorkflowsInfo>
org.apache.oozie.command.wf.JobsCommand
public class JobsCommand
Command for loading the Workflows according to the given filter information
| Field Summary |
|---|
| Fields inherited from class org.apache.oozie.command.Command |
|---|
dryrun, instrumentation, LOCK_FAILURE_REQUEUE_INTERVAL, type |
| Constructor Summary | |
|---|---|
JobsCommand(java.util.Map<java.lang.String,java.util.List<java.lang.String>> filter,
int start,
int length)
Constructor taking the filter information |
|
| Method Summary | |
|---|---|
protected WorkflowsInfo |
call(WorkflowStore store)
DagCallable subclasses must implement this method to perform their task. |
| Methods inherited from class org.apache.oozie.command.wf.WorkflowCommand |
|---|
getStoreClass |
| Methods inherited from class org.apache.oozie.command.Command |
|---|
call, execute, getCreatedTime, getInstrumentation, getName, getPriority, getType, incrCommandCounter, incrJobCounter, incrJobCounter, lock, logQueueCallableFalse, queueCallable, queueCallable, queueCallable, queueCallableForException, resetLogInfoAction, resetLogInfoWorkflow, setLogInfo, setLogInfo, setLogInfo, setLogInfo, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JobsCommand(java.util.Map<java.lang.String,java.util.List<java.lang.String>> filter,
int start,
int length)
filter - Can be name, status, user, group and combination of thesestart - starting from this index in the list of workflows matching the filter are returnedlength - number of workflows to be returned from the list of workflows matching the filter and starting from
index "start".| Method Detail |
|---|
protected WorkflowsInfo call(WorkflowStore store)
throws StoreException
Command
call in class Command<WorkflowsInfo,WorkflowStore>store - the workflow store instance for the callable, null if the callable does not use a
store.
StoreException - thrown if the workflow store could not perform an operation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||