Class BatchHelper
java.lang.Object
org.operaton.bpm.engine.test.api.runtime.BatchHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSeconds(Date date, int seconds) addSecondsToClock(int seconds) voidcompleteBatch(Batch batch) voidcompleteExecutionJobs(Batch batch) voidcompleteJobs(Batch batch, int count) voidcompleteMonitorJobs(Batch batch) voidcompleteSeedJobs(Batch batch) voidexecuteJob(Job job) voidexecuteJobs(Batch batch) voidexecuteMonitorJob(Batch batch) voidexecuteSeedJob(Batch batch) voidfailExecutionJobs(Batch batch, int count) getExecutionJobDefinition(Batch batch) getExecutionJobDefinition(Batch batch, String jobType) getExecutionJobs(Batch batch) getExecutionJobs(Batch batch, String jobType) getHistoricBatch(Batch batch) getHistoricBatchJobLog(Batch batch) getHistoricMonitorJobLog(Batch batch) getHistoricMonitorJobLog(Batch batch, Job monitorJob) getHistoricSeedJobLog(Batch batch) protected HistoryServiceprotected IdentityServicegetJobForDefinition(JobDefinition jobDefinition) getJobsForDefinition(JobDefinition jobDefinition) protected ManagementServicegetMonitorJob(Batch batch) getMonitorJobDefinition(Batch batch) protected ProcessEngineprotected RuntimeServicegetSeedJob(Batch batch) getSeedJobDefinition(Batch batch) voidRemove all batches and historic batches.voidsetRetries(Batch batch, int count, int retries)
-
Constructor Details
-
BatchHelper
-
-
Method Details
-
getJobForDefinition
-
getJobsForDefinition
-
executeJob
-
getSeedJobDefinition
-
getSeedJob
-
executeSeedJob
-
getMonitorJobDefinition
-
getMonitorJob
-
executeMonitorJob
-
completeMonitorJobs
-
completeSeedJobs
-
getExecutionJobDefinition
-
getExecutionJobDefinition
-
getExecutionJobs
-
getExecutionJobs
-
executeJobs
-
completeBatch
-
completeJobs
-
failExecutionJobs
-
setRetries
-
completeExecutionJobs
-
getHistoricBatch
-
getHistoricSeedJobLog
-
getHistoricMonitorJobLog
-
getHistoricMonitorJobLog
-
getHistoricBatchJobLog
-
addSeconds
-
addSecondsToClock
-
removeAllRunningAndHistoricBatches
public void removeAllRunningAndHistoricBatches()Remove all batches and historic batches. Usually called inAftermethod. -
getProcessEngine
-
getRuntimeService
-
getManagementService
-
getHistoryService
-
getIdentityService
-