|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.cmd.JobRetryCmd
org.camunda.bpm.engine.impl.cmd.DefaultJobRetryCmd
public class DefaultJobRetryCmd
| Field Summary | |
|---|---|
static List<String> |
SUPPORTED_TYPES
|
| Fields inherited from class org.camunda.bpm.engine.impl.cmd.JobRetryCmd |
|---|
exception, jobId, serialVersionUID |
| Constructor Summary | |
|---|---|
DefaultJobRetryCmd(String jobId,
Throwable exception)
|
|
| Method Summary | |
|---|---|
Object |
execute(CommandContext commandContext)
|
protected void |
executeCustomStrategy(CommandContext commandContext,
JobEntity job,
ActivityImpl activity)
|
protected void |
executeStandardStrategy(CommandContext commandContext)
|
protected ExecutionEntity |
fetchExecutionEntity(String executionId)
|
protected ActivityImpl |
getCurrentActivity(CommandContext commandContext,
JobEntity job)
|
protected DurationHelper |
getDurationHelper(JobEntity job,
String failedJobRetryTimeCycle,
List<String> retryIntervals)
|
protected DurationHelper |
getDurationHelper(String failedJobRetryTimeCycle)
|
protected String |
getFailedJobRetryTimeCycle(JobEntity job,
Expression expression)
|
protected void |
initializeRetries(JobEntity job,
int retries)
|
protected boolean |
isFirstJobExecution(JobEntity job)
|
| Methods inherited from class org.camunda.bpm.engine.impl.cmd.JobRetryCmd |
|---|
decrementRetries, getExceptionStacktrace, getJob, logException, notifyAcquisition, shouldDecrementRetriesFor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final List<String> SUPPORTED_TYPES
| Constructor Detail |
|---|
public DefaultJobRetryCmd(String jobId,
Throwable exception)
| Method Detail |
|---|
public Object execute(CommandContext commandContext)
protected void executeStandardStrategy(CommandContext commandContext)
protected void executeCustomStrategy(CommandContext commandContext,
JobEntity job,
ActivityImpl activity)
throws Exception
Exception
protected ActivityImpl getCurrentActivity(CommandContext commandContext,
JobEntity job)
protected ExecutionEntity fetchExecutionEntity(String executionId)
protected String getFailedJobRetryTimeCycle(JobEntity job,
Expression expression)
protected DurationHelper getDurationHelper(JobEntity job,
String failedJobRetryTimeCycle,
List<String> retryIntervals)
throws Exception
Exception
protected DurationHelper getDurationHelper(String failedJobRetryTimeCycle)
throws Exception
Exceptionprotected boolean isFirstJobExecution(JobEntity job)
protected void initializeRetries(JobEntity job,
int retries)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||