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