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
Nested Classes Modifier and Type Class Description static class
TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration
-
Field Summary
Fields Modifier and Type Field Description protected static String
JOB_HANDLER_CFG_BY
protected static String
JOB_HANDLER_CFG_INCLUDE_JOBS
protected static String
JOB_HANDLER_CFG_JOB_DEFINITION_ID
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 Summary
Constructors Constructor Description TimerChangeJobDefinitionSuspensionStateJobHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
execute(TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
protected abstract AbstractSetJobDefinitionStateCmd
getCommand(TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration configuration)
TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration
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 Detail
-
JOB_HANDLER_CFG_BY
protected static final String JOB_HANDLER_CFG_BY
- See Also:
- Constant Field Values
-
JOB_HANDLER_CFG_JOB_DEFINITION_ID
protected static final String JOB_HANDLER_CFG_JOB_DEFINITION_ID
- See Also:
- Constant Field Values
-
JOB_HANDLER_CFG_PROCESS_DEFINITION_ID
protected static final String JOB_HANDLER_CFG_PROCESS_DEFINITION_ID
- See Also:
- Constant Field Values
-
JOB_HANDLER_CFG_PROCESS_DEFINITION_KEY
protected static final String JOB_HANDLER_CFG_PROCESS_DEFINITION_KEY
- See Also:
- Constant Field Values
-
JOB_HANDLER_CFG_PROCESS_DEFINITION_TENANT_ID
protected static final String JOB_HANDLER_CFG_PROCESS_DEFINITION_TENANT_ID
- See Also:
- Constant Field Values
-
JOB_HANDLER_CFG_INCLUDE_JOBS
protected static final String JOB_HANDLER_CFG_INCLUDE_JOBS
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-