public abstract class TimerChangeProcessDefinitionSuspensionStateJobHandler extends Object implements JobHandler<TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration>
Modifier and Type | Class and Description |
---|---|
static class |
TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration |
Modifier and Type | Field and Description |
---|---|
protected static String |
JOB_HANDLER_CFG_BY |
protected static String |
JOB_HANDLER_CFG_INCLUDE_PROCESS_INSTANCES |
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 |
---|
TimerChangeProcessDefinitionSuspensionStateJobHandler() |
Modifier and Type | Method and Description |
---|---|
void |
execute(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration,
ExecutionEntity execution,
CommandContext commandContext,
String tenantId) |
protected abstract AbstractSetProcessDefinitionStateCmd |
getCommand(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration) |
TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration |
newConfiguration(String canonicalString) |
void |
onDelete(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration 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_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_PROCESS_INSTANCES
public TimerChangeProcessDefinitionSuspensionStateJobHandler()
public void execute(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
execute
in interface JobHandler<TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration>
protected abstract AbstractSetProcessDefinitionStateCmd getCommand(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration)
public TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration newConfiguration(String canonicalString)
public void onDelete(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration, JobEntity jobEntity)
JobHandler
onDelete
in interface JobHandler<TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration>
configuration
- the job handler configurationjobEntity
- the job entity to be deletedCopyright © 2019. All rights reserved.