org.apache.oozie.command.wf
Class WorkflowXCommand<T>
java.lang.Object
org.apache.oozie.command.XCommand<T>
org.apache.oozie.command.wf.WorkflowXCommand<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
- Callable<T>, XCallable<T>
- Direct Known Subclasses:
- ActionXCommand, CompletedActionXCommand, DefinitionXCommand, ExternalIdXCommand, JobsXCommand, JobXCommand, KillXCommand, NotificationXCommand, ReRunXCommand, ResumeXCommand, SignalXCommand, SubmitHttpXCommand, SubmitXCommand, SuspendXCommand, WfEndXCommand, WorkflowActionInfoXCommand
public abstract class WorkflowXCommand<T>
- extends XCommand<T>
Abstract coordinator command class derived from XCommand
Methods inherited from class org.apache.oozie.command.XCommand |
call, eagerLoadState, eagerVerifyPrecondition, execute, executeInterrupts, getCreatedTime, getEntityKey, getInstrumentation, getKey, getLockTimeOut, getLog, getName, getPriority, getRequeueDelay, getType, inInterruptMode, isLockRequired, isReQueueRequired, loadState, queue, queue, resetUsed, setInterruptMode, verifyPrecondition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowXCommand
public WorkflowXCommand(String name,
String type,
int priority)
- Base class constructor for workflow commands.
- Parameters:
name
- command nametype
- command typepriority
- command priority
WorkflowXCommand
public WorkflowXCommand(String name,
String type,
int priority,
boolean dryrun)
- Base class constructor for workflow commands.
- Parameters:
name
- command nametype
- command typepriority
- command prioritydryrun
- true if rerun is enabled for command
generateEvent
protected static void generateEvent(WorkflowJobBean wfJob,
String errorCode,
String errorMsg)
generateEvent
protected static void generateEvent(WorkflowJobBean wfJob)
generateEvent
protected void generateEvent(WorkflowActionBean wfAction,
String wfUser)
Copyright © 2013 Apache Software Foundation. All Rights Reserved.