Class ExecuteJobHelper
- java.lang.Object
-
- org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper
-
public class ExecuteJobHelper extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ExecuteJobHelper.ExceptionLoggingHandler
-
Field Summary
Fields Modifier and Type Field Description static ExecuteJobHelper.ExceptionLoggingHandler
LOGGING_HANDLER
-
Constructor Summary
Constructors Constructor Description ExecuteJobHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
LOGGING_HANDLER
public static ExecuteJobHelper.ExceptionLoggingHandler LOGGING_HANDLER
-
-
Method Detail
-
executeJob
public static void executeJob(String jobId, CommandExecutor commandExecutor)
-
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
protected static SuccessfulJobListener createSuccessfulJobListener(CommandExecutor commandExecutor)
-
-