org.camunda.bpm.engine.impl.batch
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
BatchMonitorJobHandler
public BatchMonitorJobHandler()
getType
public String getType()
- Specified by:
getType in interface JobHandler<BatchMonitorJobHandler.BatchMonitorJobConfiguration>
execute
public void execute(BatchMonitorJobHandler.BatchMonitorJobConfiguration configuration,
ExecutionEntity execution,
CommandContext commandContext,
String tenantId)
- Specified by:
execute in interface JobHandler<BatchMonitorJobHandler.BatchMonitorJobConfiguration>
newConfiguration
public BatchMonitorJobHandler.BatchMonitorJobConfiguration newConfiguration(String canonicalString)
- Specified by:
newConfiguration in interface JobHandler<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 interface JobHandler<BatchMonitorJobHandler.BatchMonitorJobConfiguration>
- Parameters:
configuration - the job handler configurationjobEntity - the job entity to be deleted
Copyright © 2017 camunda services GmbH. All rights reserved.