Class TimerChangeJobDefinitionSuspensionStateJobHandler
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.TimerChangeJobDefinitionSuspensionStateJobHandler
- All Implemented Interfaces:
JobHandler<TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration>
- Direct Known Subclasses:
TimerActivateJobDefinitionHandler
,TimerSuspendJobDefinitionHandler
public abstract class TimerChangeJobDefinitionSuspensionStateJobHandler
extends Object
implements JobHandler<TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration>
- Author:
- roman.smirnov
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId) protected abstract AbstractSetJobDefinitionStateCmd
getCommand
(TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration configuration) newConfiguration
(String canonicalString) void
onDelete
(TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration 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_JOB_DEFINITION_ID
- 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_JOBS
- See Also:
-
-
Constructor Details
-
TimerChangeJobDefinitionSuspensionStateJobHandler
public TimerChangeJobDefinitionSuspensionStateJobHandler()
-
-
Method Details
-
execute
public void execute(TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId) - Specified by:
execute
in interfaceJobHandler<TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration>
-
getCommand
protected abstract AbstractSetJobDefinitionStateCmd getCommand(TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration configuration) -
newConfiguration
public TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration newConfiguration(String canonicalString) - Specified by:
newConfiguration
in interfaceJobHandler<TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration>
-
onDelete
public void onDelete(TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration 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<TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration>
- Parameters:
configuration
- the job handler configurationjobEntity
- the job entity to be deleted
-