public class ExecuteJobHelper extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ExecuteJobHelper.ExceptionLoggingHandler |
Modifier and Type | Field and Description |
---|---|
static ExecuteJobHelper.ExceptionLoggingHandler |
LOGGING_HANDLER |
Constructor and Description |
---|
ExecuteJobHelper() |
Modifier and Type | Method and 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) |
public static ExecuteJobHelper.ExceptionLoggingHandler LOGGING_HANDLER
public static void executeJob(String jobId, CommandExecutor commandExecutor)
public static void executeJob(String nextJobId, CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector, Command<Void> cmd)
public static void executeJob(String nextJobId, CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector, Command<Void> cmd, ProcessEngineConfigurationImpl configuration)
protected static void invokeJobListener(CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector)
protected static void handleJobFailure(String nextJobId, JobFailureCollector jobFailureCollector, Throwable exception)
protected static FailedJobListener createFailedJobListener(CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector)
protected static SuccessfulJobListener createSuccessfulJobListener(CommandExecutor commandExecutor)
Copyright © 2022. All rights reserved.