T
- public abstract class WorkflowXCommand<T> extends XCommand<T>
DEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG, logInfo
Constructor and Description |
---|
WorkflowXCommand(String name,
String type,
int priority)
Base class constructor for workflow commands.
|
WorkflowXCommand(String name,
String type,
int priority,
boolean dryrun)
Base class constructor for workflow commands.
|
Modifier and Type | Method and Description |
---|---|
protected void |
generateEvent(WorkflowActionBean wfAction,
String wfUser) |
protected static void |
generateEvent(WorkflowJobBean wfJob) |
protected static void |
generateEvent(WorkflowJobBean wfJob,
String errorCode,
String errorMsg) |
call, eagerLoadState, eagerVerifyPrecondition, execute, executeInterrupts, getCreatedTime, getEntityKey, getInstrumentation, getKey, getLockTimeOut, getLog, getName, getPriority, getRequeueDelay, getType, inInterruptMode, isLockRequired, isReQueueRequired, loadState, queue, queue, resetUsed, setInterruptMode, verifyPrecondition
public WorkflowXCommand(String name, String type, int priority)
name
- command nametype
- command typepriority
- command prioritypublic WorkflowXCommand(String name, String type, int priority, boolean dryrun)
name
- command nametype
- command typepriority
- command prioritydryrun
- true if rerun is enabled for commandprotected static void generateEvent(WorkflowJobBean wfJob, String errorCode, String errorMsg)
protected static void generateEvent(WorkflowJobBean wfJob)
protected void generateEvent(WorkflowActionBean wfAction, String wfUser)
Copyright © 2015 Apache Software Foundation. All Rights Reserved.