org.apache.oozie.command.wf
Class ActionStartCommand
java.lang.Object
org.apache.oozie.command.Command<T,WorkflowStore>
org.apache.oozie.command.wf.WorkflowCommand<java.lang.Void>
org.apache.oozie.command.wf.ActionCommand<java.lang.Void>
org.apache.oozie.command.wf.ActionStartCommand
- All Implemented Interfaces:
- java.util.concurrent.Callable<java.lang.Void>, XCallable<java.lang.Void>
public class ActionStartCommand
- extends ActionCommand<java.lang.Void>
Method Summary |
protected java.lang.Void |
call(WorkflowStore store)
DagCallable subclasses must implement this method to perform their task. |
protected java.lang.Void |
execute(WorkflowStore store)
|
Methods inherited from class org.apache.oozie.command.Command |
call, 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 |
EL_ERROR
public static final java.lang.String EL_ERROR
- See Also:
- Constant Field Values
EL_EVAL_ERROR
public static final java.lang.String EL_EVAL_ERROR
- See Also:
- Constant Field Values
COULD_NOT_START
public static final java.lang.String COULD_NOT_START
- See Also:
- Constant Field Values
START_DATA_MISSING
public static final java.lang.String START_DATA_MISSING
- See Also:
- Constant Field Values
EXEC_DATA_MISSING
public static final java.lang.String EXEC_DATA_MISSING
- See Also:
- Constant Field Values
ActionStartCommand
public ActionStartCommand(java.lang.String id,
java.lang.String type)
call
protected java.lang.Void call(WorkflowStore 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<java.lang.Void,WorkflowStore>
- 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.
execute
protected java.lang.Void execute(WorkflowStore store)
throws CommandException,
StoreException
- Overrides:
execute
in class Command<java.lang.Void,WorkflowStore>
- Throws:
CommandException
StoreException
Copyright © 2010 Yahoo. All Rights Reserved.