public class CoordWfActionInfoXCommand extends CoordinatorXCommand<List<CoordinatorWfActionBean>>
DEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG| Constructor and Description |
|---|
CoordWfActionInfoXCommand(String jobId,
String actionName) |
CoordWfActionInfoXCommand(String jobId,
String actionName,
int offset,
int len) |
| Modifier and Type | Method and Description |
|---|---|
protected List<CoordinatorWfActionBean> |
execute()
Command execution body.
|
String |
getEntityKey()
(non-Javadoc)
|
protected boolean |
isLockRequired()
(non-Javadoc)
|
protected void |
loadState()
(non-Javadoc)
|
protected void |
verifyPrecondition()
(non-Javadoc)
|
generateEvent, generateEventcall, eagerLoadState, eagerVerifyPrecondition, executeInterrupts, getCreatedTime, getInstrumentation, getKey, getLockTimeOut, getLog, getName, getPriority, getRequeueDelay, getType, inInterruptMode, isReQueueRequired, queue, queue, resetUsed, setInterruptMode, setLogInfo, toStringpublic CoordWfActionInfoXCommand(String jobId, String actionName)
public CoordWfActionInfoXCommand(String jobId, String actionName, int offset, int len)
protected List<CoordinatorWfActionBean> execute() throws CommandException
XCommandThis method will be invoked after the {link #loadState} and {link #verifyPrecondition} methods.
If the command requires locking, this method will be invoked ONLY if the lock has been acquired.
execute in class XCommand<List<CoordinatorWfActionBean>>CommandException - thrown if the command execution failed.protected void loadState() throws CommandException
loadState in class XCommand<List<CoordinatorWfActionBean>>CommandExceptionXCommand.loadState()protected void verifyPrecondition() throws CommandException, PreconditionException
verifyPrecondition in class XCommand<List<CoordinatorWfActionBean>>CommandException - thrown if the precondition is not met.PreconditionExceptionno-opprotected boolean isLockRequired()
isLockRequired in class XCommand<List<CoordinatorWfActionBean>>true/falseXCommand.isLockRequired()public String getEntityKey()
getEntityKey in interface XCallable<List<CoordinatorWfActionBean>>getEntityKey in class XCommand<List<CoordinatorWfActionBean>>XCommand.getEntityKey()Copyright © 2018 Apache Software Foundation. All rights reserved.