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 Object
implements JobHandler<TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration>
- Author:
- Joram Barrez, roman.smirnov
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId) protected abstract AbstractSetProcessDefinitionStateCmd
getCommand
(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration) newConfiguration
(String canonicalString) void
onDelete
(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 Details
-
JOB_HANDLER_CFG_BY
- See Also:
-
JOB_HANDLER_CFG_PROCESS_DEFINITION_ID
- See Also:
-
JOB_HANDLER_CFG_PROCESS_DEFINITION_KEY
- See Also:
-
JOB_HANDLER_CFG_PROCESS_DEFINITION_TENANT_ID
- See Also:
-
JOB_HANDLER_CFG_INCLUDE_PROCESS_INSTANCES
- See Also:
-
-
Constructor Details
-
TimerChangeProcessDefinitionSuspensionStateJobHandler
public TimerChangeProcessDefinitionSuspensionStateJobHandler()
-
-
Method Details
-
execute
public void execute(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId) - Specified by:
execute
in interfaceJobHandler<TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration>
-
getCommand
protected abstract AbstractSetProcessDefinitionStateCmd getCommand(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration) -
newConfiguration
public TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration newConfiguration(String canonicalString) -
onDelete
public void onDelete(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration, JobEntity jobEntity) Description copied from interface:JobHandler
Clean up before job is deleted. Like removing of auxiliary entities specific for this job handler.- Specified by:
onDelete
in interfaceJobHandler<TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration>
- Parameters:
configuration
- the job handler configurationjobEntity
- the job entity to be deleted
-