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 interfaceExecuteJobHelper.ExceptionLoggingHandler
-
Field Summary
Fields Modifier and Type Field Description static ExecuteJobHelper.ExceptionLoggingHandlerLOGGING_HANDLER
-
Constructor Summary
Constructors Constructor Description ExecuteJobHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static FailedJobListenercreateFailedJobListener(CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector)protected static SuccessfulJobListenercreateSuccessfulJobListener(CommandExecutor commandExecutor)static voidexecuteJob(java.lang.String jobId, CommandExecutor commandExecutor)static voidexecuteJob(java.lang.String nextJobId, CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector, Command<java.lang.Void> cmd)static voidexecuteJob(java.lang.String nextJobId, CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector, Command<java.lang.Void> cmd, ProcessEngineConfigurationImpl configuration)protected static voidhandleJobFailure(java.lang.String nextJobId, JobFailureCollector jobFailureCollector, java.lang.Throwable exception)protected static voidinvokeJobListener(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)
-
-