public abstract class TimerChangeJobDefinitionSuspensionStateJobHandler extends Object implements JobHandler<TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration>
Modifier and Type | Class and Description |
---|---|
static class |
TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration |
Modifier and Type | Field and Description |
---|---|
protected static String |
JOB_HANDLER_CFG_BY |
protected static String |
JOB_HANDLER_CFG_INCLUDE_JOBS |
protected static String |
JOB_HANDLER_CFG_JOB_DEFINITION_ID |
protected static String |
JOB_HANDLER_CFG_PROCESS_DEFINITION_ID |
protected static String |
JOB_HANDLER_CFG_PROCESS_DEFINITION_KEY |
protected static String |
JOB_HANDLER_CFG_PROCESS_DEFINITION_TENANT_ID |
Constructor and Description |
---|
TimerChangeJobDefinitionSuspensionStateJobHandler() |
Modifier and Type | Method and Description |
---|---|
void |
execute(TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration configuration,
ExecutionEntity execution,
CommandContext commandContext,
String tenantId) |
protected abstract AbstractSetJobDefinitionStateCmd |
getCommand(TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration configuration) |
TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration |
newConfiguration(String canonicalString) |
void |
onDelete(TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration configuration,
JobEntity jobEntity)
Clean up before job is deleted.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType
protected static final String JOB_HANDLER_CFG_BY
protected static final String JOB_HANDLER_CFG_JOB_DEFINITION_ID
protected static final String JOB_HANDLER_CFG_PROCESS_DEFINITION_ID
protected static final String JOB_HANDLER_CFG_PROCESS_DEFINITION_KEY
protected static final String JOB_HANDLER_CFG_PROCESS_DEFINITION_TENANT_ID
protected static final String JOB_HANDLER_CFG_INCLUDE_JOBS
public TimerChangeJobDefinitionSuspensionStateJobHandler()
public void execute(TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
execute
in interface JobHandler<TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration>
protected abstract AbstractSetJobDefinitionStateCmd getCommand(TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration configuration)
public TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration newConfiguration(String canonicalString)
newConfiguration
in interface JobHandler<TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration>
public void onDelete(TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration configuration, JobEntity jobEntity)
JobHandler
onDelete
in interface JobHandler<TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration>
configuration
- the job handler configurationjobEntity
- the job entity to be deletedCopyright © 2018. All rights reserved.