org.apache.oozie.command.wf
Class WorkflowCommand<T>
java.lang.Object
org.apache.oozie.command.Command<T,WorkflowStore>
org.apache.oozie.command.wf.WorkflowCommand<T>
- All Implemented Interfaces:
- Callable<T>, XCallable<T>
- Direct Known Subclasses:
- ActionCommand, CompletedActionCommand, DefinitionCommand, ExternalIdCommand, JobCommand, JobsCommand, KillCommand, NotificationCommand, PurgeCommand, ReRunCommand, ResumeCommand, SignalCommand, SubmitCommand, SubmitHttpCommand, SuspendCommand, WorkflowActionInfoCommand
public abstract class WorkflowCommand<T>
- extends Command<T,WorkflowStore>
Methods inherited from class org.apache.oozie.command.Command |
call, call, execute, getCreatedTime, getInstrumentation, getKey, getName, getPriority, getType, incrCommandCounter, incrJobCounter, incrJobCounter, lock, logQueueCallableFalse, queueCallable, queueCallable, queueCallable, queueCallableForException, resetLogInfoAction, resetLogInfoWorkflow, setLogInfo, setLogInfo, setLogInfo, setLogInfo, toString |
WorkflowCommand
public WorkflowCommand(String name,
String type,
int priority,
int logMask)
- Create a command that uses a
WorkflowStore
instance. The current XLog.Info
values are
captured for execution.
- Parameters:
name
- command name.type
- command type.priority
- priority of the command, used when queuing for asynchronous execution.logMask
- log mask for the command logging calls.
WorkflowCommand
public WorkflowCommand(String name,
String type,
int priority,
int logMask,
boolean withStore)
- Create a command. The current
XLog.Info
values are captured for execution.
- Parameters:
name
- command name.type
- command type.priority
- priority of the command, used when queuing for asynchronous execution.logMask
- log mask for the command logging calls.withStore
- indicates if the command needs a WorkflowStore
instance or not.
getStoreClass
public Class<? extends Store> getStoreClass()
- Return the public interface of the Workflow Store.
- Specified by:
getStoreClass
in class Command<T,WorkflowStore>
- Returns:
WorkflowStore
Copyright © 2012 Apache Software Foundation. All Rights Reserved.