Class BatchMonitorJobHandler
java.lang.Object
org.camunda.bpm.engine.impl.batch.BatchMonitorJobHandler
- All Implemented Interfaces:
JobHandler<BatchMonitorJobHandler.BatchMonitorJobConfiguration>
public class BatchMonitorJobHandler
extends Object
implements JobHandler<BatchMonitorJobHandler.BatchMonitorJobConfiguration>
Job handler for batch monitor jobs. The batch monitor job
polls for the completion of the batch.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(BatchMonitorJobHandler.BatchMonitorJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId) getType()newConfiguration(String canonicalString) voidonDelete(BatchMonitorJobHandler.BatchMonitorJobConfiguration configuration, JobEntity jobEntity) Clean up before job is deleted.
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
BatchMonitorJobHandler
public BatchMonitorJobHandler()
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceJobHandler<BatchMonitorJobHandler.BatchMonitorJobConfiguration>
-
execute
public void execute(BatchMonitorJobHandler.BatchMonitorJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId) - Specified by:
executein interfaceJobHandler<BatchMonitorJobHandler.BatchMonitorJobConfiguration>
-
newConfiguration
- Specified by:
newConfigurationin interfaceJobHandler<BatchMonitorJobHandler.BatchMonitorJobConfiguration>
-
onDelete
public void onDelete(BatchMonitorJobHandler.BatchMonitorJobConfiguration configuration, JobEntity jobEntity) Description copied from interface:JobHandlerClean up before job is deleted. Like removing of auxiliary entities specific for this job handler.- Specified by:
onDeletein interfaceJobHandler<BatchMonitorJobHandler.BatchMonitorJobConfiguration>- Parameters:
configuration- the job handler configurationjobEntity- the job entity to be deleted
-