Class ProcessEventJobHandler
- java.lang.Object
 - 
- org.camunda.bpm.engine.impl.jobexecutor.ProcessEventJobHandler
 
 
- 
- All Implemented Interfaces:
 JobHandler<ProcessEventJobHandler.EventSubscriptionJobConfiguration>
public class ProcessEventJobHandler extends Object implements JobHandler<ProcessEventJobHandler.EventSubscriptionJobConfiguration>
- Author:
 - Daniel Meyer
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProcessEventJobHandler.EventSubscriptionJobConfiguration 
- 
Constructor Summary
Constructors Constructor Description ProcessEventJobHandler() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(ProcessEventJobHandler.EventSubscriptionJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)StringgetType()ProcessEventJobHandler.EventSubscriptionJobConfigurationnewConfiguration(String canonicalString)voidonDelete(ProcessEventJobHandler.EventSubscriptionJobConfiguration 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:
 getTypein interfaceJobHandler<ProcessEventJobHandler.EventSubscriptionJobConfiguration>
 
- 
execute
public void execute(ProcessEventJobHandler.EventSubscriptionJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
- Specified by:
 executein interfaceJobHandler<ProcessEventJobHandler.EventSubscriptionJobConfiguration>
 
- 
newConfiguration
public ProcessEventJobHandler.EventSubscriptionJobConfiguration newConfiguration(String canonicalString)
- Specified by:
 newConfigurationin interfaceJobHandler<ProcessEventJobHandler.EventSubscriptionJobConfiguration>
 
- 
onDelete
public void onDelete(ProcessEventJobHandler.EventSubscriptionJobConfiguration 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<ProcessEventJobHandler.EventSubscriptionJobConfiguration>- Parameters:
 configuration- the job handler configurationjobEntity- the job entity to be deleted
 
 - 
 
 -