public class ProcessEventJobHandler extends Object implements JobHandler<ProcessEventJobHandler.EventSubscriptionJobConfiguration>
Modifier and Type | Class and Description |
---|---|
static class |
ProcessEventJobHandler.EventSubscriptionJobConfiguration |
Constructor and Description |
---|
ProcessEventJobHandler() |
Modifier and Type | Method and Description |
---|---|
void |
execute(ProcessEventJobHandler.EventSubscriptionJobConfiguration configuration,
ExecutionEntity execution,
CommandContext commandContext,
String tenantId) |
String |
getType() |
ProcessEventJobHandler.EventSubscriptionJobConfiguration |
newConfiguration(String canonicalString) |
void |
onDelete(ProcessEventJobHandler.EventSubscriptionJobConfiguration configuration,
JobEntity jobEntity)
Clean up before job is deleted.
|
public static final String TYPE
public String getType()
getType
in interface JobHandler<ProcessEventJobHandler.EventSubscriptionJobConfiguration>
public void execute(ProcessEventJobHandler.EventSubscriptionJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
execute
in interface JobHandler<ProcessEventJobHandler.EventSubscriptionJobConfiguration>
public ProcessEventJobHandler.EventSubscriptionJobConfiguration newConfiguration(String canonicalString)
newConfiguration
in interface JobHandler<ProcessEventJobHandler.EventSubscriptionJobConfiguration>
public void onDelete(ProcessEventJobHandler.EventSubscriptionJobConfiguration configuration, JobEntity jobEntity)
JobHandler
onDelete
in interface JobHandler<ProcessEventJobHandler.EventSubscriptionJobConfiguration>
configuration
- the job handler configurationjobEntity
- the job entity to be deletedCopyright © 2019. All rights reserved.