Class TimerChangeProcessDefinitionSuspensionStateJobHandler
- java.lang.Object
-
- org.camunda.bpm.engine.impl.jobexecutor.TimerChangeProcessDefinitionSuspensionStateJobHandler
-
- All Implemented Interfaces:
JobHandler<TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration>
- Direct Known Subclasses:
TimerActivateProcessDefinitionHandler,TimerSuspendProcessDefinitionHandler
public abstract class TimerChangeProcessDefinitionSuspensionStateJobHandler extends java.lang.Object implements JobHandler<TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration>
- Author:
- Joram Barrez, roman.smirnov
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringJOB_HANDLER_CFG_BYprotected static java.lang.StringJOB_HANDLER_CFG_INCLUDE_PROCESS_INSTANCESprotected static java.lang.StringJOB_HANDLER_CFG_PROCESS_DEFINITION_IDprotected static java.lang.StringJOB_HANDLER_CFG_PROCESS_DEFINITION_KEYprotected static java.lang.StringJOB_HANDLER_CFG_PROCESS_DEFINITION_TENANT_ID
-
Constructor Summary
Constructors Constructor Description TimerChangeProcessDefinitionSuspensionStateJobHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidexecute(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, java.lang.String tenantId)protected abstract AbstractSetProcessDefinitionStateCmdgetCommand(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration)TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfigurationnewConfiguration(java.lang.String canonicalString)voidonDelete(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration, JobEntity jobEntity)Clean up before job is deleted.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.jobexecutor.JobHandler
getType
-
-
-
-
Field Detail
-
JOB_HANDLER_CFG_BY
protected static final java.lang.String JOB_HANDLER_CFG_BY
- See Also:
- Constant Field Values
-
JOB_HANDLER_CFG_PROCESS_DEFINITION_ID
protected static final java.lang.String JOB_HANDLER_CFG_PROCESS_DEFINITION_ID
- See Also:
- Constant Field Values
-
JOB_HANDLER_CFG_PROCESS_DEFINITION_KEY
protected static final java.lang.String JOB_HANDLER_CFG_PROCESS_DEFINITION_KEY
- See Also:
- Constant Field Values
-
JOB_HANDLER_CFG_PROCESS_DEFINITION_TENANT_ID
protected static final java.lang.String JOB_HANDLER_CFG_PROCESS_DEFINITION_TENANT_ID
- See Also:
- Constant Field Values
-
JOB_HANDLER_CFG_INCLUDE_PROCESS_INSTANCES
protected static final java.lang.String JOB_HANDLER_CFG_INCLUDE_PROCESS_INSTANCES
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, java.lang.String tenantId)
- Specified by:
executein interfaceJobHandler<TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration>
-
getCommand
protected abstract AbstractSetProcessDefinitionStateCmd getCommand(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration)
-
newConfiguration
public TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration newConfiguration(java.lang.String canonicalString)
-
onDelete
public void onDelete(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration, JobEntity jobEntity)
Description copied from interface:JobHandlerClean up before job is deleted. Like removing of auxiliary entities specific for this job handler.- Specified by:
onDeletein interfaceJobHandler<TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration>- Parameters:
configuration- the job handler configurationjobEntity- the job entity to be deleted
-
-