Class JobExecutorHelper
- java.lang.Object
-
- org.camunda.bpm.webapp.impl.test.util.JobExecutorHelper
-
public class JobExecutorHelper extends java.lang.Object
Provides theJobExecutor
related features ofAbstractProcessEngineTestCase
.- Author:
- nico.rehwaldt
-
-
Constructor Summary
Constructors Constructor Description JobExecutorHelper(ProcessEngine processEngine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
areJobsAvailable()
void
waitForJobExecutorOnCondition(long maxMillisToWait, java.util.concurrent.Callable<java.lang.Boolean> condition)
void
waitForJobExecutorToProcessAllJobs(long maxMillisToWait)
-
-
-
Constructor Detail
-
JobExecutorHelper
public JobExecutorHelper(ProcessEngine processEngine)
-
-
Method Detail
-
waitForJobExecutorToProcessAllJobs
public void waitForJobExecutorToProcessAllJobs(long maxMillisToWait)
-
waitForJobExecutorOnCondition
public void waitForJobExecutorOnCondition(long maxMillisToWait, java.util.concurrent.Callable<java.lang.Boolean> condition)
-
areJobsAvailable
public boolean areJobsAvailable()
-
-