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 class
TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
JOB_HANDLER_CFG_BY
protected static java.lang.String
JOB_HANDLER_CFG_INCLUDE_PROCESS_INSTANCES
protected static java.lang.String
JOB_HANDLER_CFG_PROCESS_DEFINITION_ID
protected static java.lang.String
JOB_HANDLER_CFG_PROCESS_DEFINITION_KEY
protected static java.lang.String
JOB_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 void
execute(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, java.lang.String tenantId)
protected abstract AbstractSetProcessDefinitionStateCmd
getCommand(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration)
TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration
newConfiguration(java.lang.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 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:
execute
in 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: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
-
-