org.camunda.bpm.webapp.impl.test.util
Class JobExecutorHelper

java.lang.Object
  extended by org.camunda.bpm.webapp.impl.test.util.JobExecutorHelper

public class JobExecutorHelper
extends Object

Provides the JobExecutor related features of AbstractProcessEngineTestCase.

Author:
nico.rehwaldt

Constructor Summary
JobExecutorHelper(org.camunda.bpm.engine.ProcessEngine processEngine)
           
 
Method Summary
 boolean areJobsAvailable()
           
 void waitForJobExecutorOnCondition(long maxMillisToWait, Callable<Boolean> condition)
           
 void waitForJobExecutorToProcessAllJobs(long maxMillisToWait)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobExecutorHelper

public JobExecutorHelper(org.camunda.bpm.engine.ProcessEngine processEngine)
Method Detail

waitForJobExecutorToProcessAllJobs

public void waitForJobExecutorToProcessAllJobs(long maxMillisToWait)

waitForJobExecutorOnCondition

public void waitForJobExecutorOnCondition(long maxMillisToWait,
                                          Callable<Boolean> condition)

areJobsAvailable

public boolean areJobsAvailable()


Copyright © 2018 camunda services GmbH. All rights reserved.