public class RestartProcessInstancesJobHandler extends AbstractBatchJobHandler<RestartProcessInstancesBatchConfiguration>
Modifier and Type | Field and Description |
---|---|
static BatchJobDeclaration |
JOB_DECLARATION |
Constructor and Description |
---|
RestartProcessInstancesJobHandler() |
Modifier and Type | Method and Description |
---|---|
protected RestartProcessInstancesBatchConfiguration |
createJobConfiguration(RestartProcessInstancesBatchConfiguration configuration,
List<String> processIdsForJob) |
void |
execute(BatchJobConfiguration configuration,
ExecutionEntity execution,
CommandContext commandContext,
String tenantId) |
JobDeclaration<BatchJobContext,MessageEntity> |
getJobDeclaration()
Get the job declaration for batch jobs.
|
protected RestartProcessInstancesBatchConfigurationJsonConverter |
getJsonConverterInstance() |
String |
getType() |
protected void |
postProcessJob(RestartProcessInstancesBatchConfiguration configuration,
JobEntity job) |
createBatchJob, createJobEntities, createJobs, deleteJobs, newConfiguration, onDelete, readConfiguration, sanitizeMappings, saveConfiguration, writeConfiguration
public static final BatchJobDeclaration JOB_DECLARATION
public String getType()
protected void postProcessJob(RestartProcessInstancesBatchConfiguration configuration, JobEntity job)
postProcessJob
in class AbstractBatchJobHandler<RestartProcessInstancesBatchConfiguration>
public void execute(BatchJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
public JobDeclaration<BatchJobContext,MessageEntity> getJobDeclaration()
BatchJobHandler
getJobDeclaration
in interface BatchJobHandler<RestartProcessInstancesBatchConfiguration>
getJobDeclaration
in class AbstractBatchJobHandler<RestartProcessInstancesBatchConfiguration>
protected RestartProcessInstancesBatchConfiguration createJobConfiguration(RestartProcessInstancesBatchConfiguration configuration, List<String> processIdsForJob)
createJobConfiguration
in class AbstractBatchJobHandler<RestartProcessInstancesBatchConfiguration>
protected RestartProcessInstancesBatchConfigurationJsonConverter getJsonConverterInstance()
getJsonConverterInstance
in class AbstractBatchJobHandler<RestartProcessInstancesBatchConfiguration>
Copyright © 2021. All rights reserved.