Class ExecuteJobHelper
- java.lang.Object
-
- org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper
-
public class ExecuteJobHelper extends java.lang.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(java.lang.String jobId, CommandExecutor commandExecutor)
static void
executeJob(java.lang.String nextJobId, CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector, Command<java.lang.Void> cmd)
static void
executeJob(java.lang.String nextJobId, CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector, Command<java.lang.Void> cmd, ProcessEngineConfigurationImpl configuration)
protected static void
handleJobFailure(java.lang.String nextJobId, JobFailureCollector jobFailureCollector, java.lang.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(java.lang.String jobId, CommandExecutor commandExecutor)
-
executeJob
public static void executeJob(java.lang.String nextJobId, CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector, Command<java.lang.Void> cmd)
-
executeJob
public static void executeJob(java.lang.String nextJobId, CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector, Command<java.lang.Void> cmd, ProcessEngineConfigurationImpl configuration)
-
invokeJobListener
protected static void invokeJobListener(CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector)
-
handleJobFailure
protected static void handleJobFailure(java.lang.String nextJobId, JobFailureCollector jobFailureCollector, java.lang.Throwable exception)
-
createFailedJobListener
protected static FailedJobListener createFailedJobListener(CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector)
-
createSuccessfulJobListener
protected static SuccessfulJobListener createSuccessfulJobListener(CommandExecutor commandExecutor)
-
-