Class BatchMonitorJobHandler
- java.lang.Object
-
- org.camunda.bpm.engine.impl.batch.BatchMonitorJobHandler
-
- All Implemented Interfaces:
JobHandler<BatchMonitorJobHandler.BatchMonitorJobConfiguration>
public class BatchMonitorJobHandler extends java.lang.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
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TYPE
-
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, java.lang.String tenantId)
java.lang.String
getType()
BatchMonitorJobHandler.BatchMonitorJobConfiguration
newConfiguration(java.lang.String canonicalString)
void
onDelete(BatchMonitorJobHandler.BatchMonitorJobConfiguration configuration, JobEntity jobEntity)
Clean up before job is deleted.
-
-
-
Field Detail
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public java.lang.String getType()
- Specified by:
getType
in interfaceJobHandler<BatchMonitorJobHandler.BatchMonitorJobConfiguration>
-
execute
public void execute(BatchMonitorJobHandler.BatchMonitorJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, java.lang.String tenantId)
- Specified by:
execute
in interfaceJobHandler<BatchMonitorJobHandler.BatchMonitorJobConfiguration>
-
newConfiguration
public BatchMonitorJobHandler.BatchMonitorJobConfiguration newConfiguration(java.lang.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
-
-