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
Modifier and TypeClassDescriptionstatic class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(ProcessEventJobHandler.EventSubscriptionJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId) getType()
newConfiguration
(String canonicalString) void
onDelete
(ProcessEventJobHandler.EventSubscriptionJobConfiguration configuration, JobEntity jobEntity) Clean up before job is deleted.
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
ProcessEventJobHandler
public ProcessEventJobHandler()
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceJobHandler<ProcessEventJobHandler.EventSubscriptionJobConfiguration>
-
execute
public void execute(ProcessEventJobHandler.EventSubscriptionJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId) - Specified by:
execute
in interfaceJobHandler<ProcessEventJobHandler.EventSubscriptionJobConfiguration>
-
newConfiguration
public ProcessEventJobHandler.EventSubscriptionJobConfiguration newConfiguration(String canonicalString) - Specified by:
newConfiguration
in interfaceJobHandler<ProcessEventJobHandler.EventSubscriptionJobConfiguration>
-
onDelete
public void onDelete(ProcessEventJobHandler.EventSubscriptionJobConfiguration 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<ProcessEventJobHandler.EventSubscriptionJobConfiguration>
- Parameters:
configuration
- the job handler configurationjobEntity
- the job entity to be deleted
-