Class ExecuteJobHelper
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static FailedJobListener
createFailedJobListener
(CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector) protected static SuccessfulJobListener
createSuccessfulJobListener
(CommandExecutor commandExecutor) static void
executeJob
(String jobId, CommandExecutor commandExecutor) static void
executeJob
(String nextJobId, CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector, Command<Void> cmd) static void
executeJob
(String nextJobId, CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector, Command<Void> cmd, ProcessEngineConfigurationImpl configuration) protected static void
handleJobFailure
(String nextJobId, JobFailureCollector jobFailureCollector, Throwable exception) protected static void
invokeJobListener
(CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector)
-
Field Details
-
LOGGING_HANDLER
-
-
Constructor Details
-
ExecuteJobHelper
public ExecuteJobHelper()
-
-
Method Details
-
executeJob
-
executeJob
public static void executeJob(String nextJobId, CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector, Command<Void> cmd) -
executeJob
public static void executeJob(String nextJobId, CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector, Command<Void> cmd, ProcessEngineConfigurationImpl configuration) -
invokeJobListener
protected static void invokeJobListener(CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector) -
handleJobFailure
protected static void handleJobFailure(String nextJobId, JobFailureCollector jobFailureCollector, Throwable exception) -
createFailedJobListener
protected static FailedJobListener createFailedJobListener(CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector) -
createSuccessfulJobListener
-