org.camunda.bpm.engine.impl.jobexecutor
Class ExecuteJobHelper

java.lang.Object
  extended by org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper

public class ExecuteJobHelper
extends Object


Constructor Summary
ExecuteJobHelper()
           
 
Method Summary
protected static FailedJobListener createFailedJobListener(CommandExecutor commandExecutor, Throwable exception, String jobId)
           
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)
           
protected static void handleJobFailure(String nextJobId, JobFailureCollector jobFailureCollector, Throwable exception)
           
protected static void invokeJobListener(CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecuteJobHelper

public ExecuteJobHelper()
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)

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,
                                                           Throwable exception,
                                                           String jobId)

createSuccessfulJobListener

protected static SuccessfulJobListener createSuccessfulJobListener(CommandExecutor commandExecutor)


Copyright © 2017 camunda services GmbH. All rights reserved.