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