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 Classes Modifier and Type Class Description static class
BatchMonitorJobHandler.BatchMonitorJobConfiguration
-
Constructor Summary
Constructors Constructor Description BatchMonitorJobHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(BatchMonitorJobHandler.BatchMonitorJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
String
getType()
BatchMonitorJobHandler.BatchMonitorJobConfiguration
newConfiguration(String canonicalString)
void
onDelete(BatchMonitorJobHandler.BatchMonitorJobConfiguration configuration, JobEntity jobEntity)
Clean up before job is deleted.
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String 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
public BatchMonitorJobHandler.BatchMonitorJobConfiguration newConfiguration(String canonicalString)
- 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
-
-