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
Modifier and TypeClassDescriptionstatic class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(BatchMonitorJobHandler.BatchMonitorJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId) getType()
newConfiguration
(String canonicalString) void
onDelete
(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:
getType
in interfaceJobHandler<BatchMonitorJobHandler.BatchMonitorJobConfiguration>
-
execute
public void execute(BatchMonitorJobHandler.BatchMonitorJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId) - Specified by:
execute
in interfaceJobHandler<BatchMonitorJobHandler.BatchMonitorJobConfiguration>
-
newConfiguration
- Specified by:
newConfiguration
in interfaceJobHandler<BatchMonitorJobHandler.BatchMonitorJobConfiguration>
-
onDelete
public void onDelete(BatchMonitorJobHandler.BatchMonitorJobConfiguration configuration, JobEntity jobEntity) Description copied from interface:JobHandler
Clean up before job is deleted. Like removing of auxiliary entities specific for this job handler.- Specified by:
onDelete
in interfaceJobHandler<BatchMonitorJobHandler.BatchMonitorJobConfiguration>
- Parameters:
configuration
- the job handler configurationjobEntity
- the job entity to be deleted
-