This project has retired. For details please refer to its
Attic page .
CoordJobCommand (Oozie Core 3.1.3-incubating API)
org.apache.oozie.command.coord
Class CoordJobCommand
java.lang.Object
org.apache.oozie.command.Command <T,CoordinatorStore >
org.apache.oozie.command.coord.CoordinatorCommand <CoordinatorJobBean >
org.apache.oozie.command.coord.CoordJobCommand
All Implemented Interfaces: Callable <CoordinatorJobBean >, XCallable <CoordinatorJobBean >
public class CoordJobCommand extends CoordinatorCommand <CoordinatorJobBean >
Command for loading a coordinator job information
Methods inherited from class org.apache.oozie.command.Command
call , execute , getCreatedTime , getInstrumentation , getKey , getName , getPriority , getType , incrCommandCounter , incrJobCounter , incrJobCounter , lock , logQueueCallableFalse , queueCallable , queueCallable , queueCallable , queueCallableForException , resetLogInfoAction , resetLogInfoWorkflow , setLogInfo , setLogInfo , setLogInfo , setLogInfo , toString
CoordJobCommand
public CoordJobCommand (String id)
Parameters: id - coord jobId
CoordJobCommand
public CoordJobCommand (String id,
int start,
int length)
Parameters: id - coord jobIdstart - starting index in the list of actions belonging to the joblength - number of actions to be returned
CoordJobCommand
public CoordJobCommand (String id,
boolean getActionInfo)
Parameters: id - coord jobIdgetActionInfo - false to ignore loading actions for the job
call
protected CoordinatorJobBean call (CoordinatorStore store)
throws StoreException ,
CommandException
Description copied from class: Command
DagCallable subclasses must implement this method to perform their task.
The workflow store works in
transactional mode. The transaction is committed only if this method ends successfully. Otherwise the transaction
is rolledback.
Specified by: call in class Command <CoordinatorJobBean ,CoordinatorStore >
Parameters: store - the workflow store instance for the callable, null if the callable does not use a
store.
Returns: the return value of the callable.
Throws:
StoreException - thrown if the workflow store could not perform an operation.
CommandException - thrown if the command could not perform its operation.
Copyright © 2012 Apache Software Foundation . All Rights Reserved.