Class TimerEventJobHandler
- java.lang.Object
-
- org.camunda.bpm.engine.impl.jobexecutor.TimerEventJobHandler
-
- All Implemented Interfaces:
JobHandler<TimerEventJobHandler.TimerJobConfiguration>
- Direct Known Subclasses:
TimerCatchIntermediateEventJobHandler
,TimerExecuteNestedActivityJobHandler
,TimerStartEventJobHandler
,TimerStartEventSubprocessJobHandler
,TimerTaskListenerJobHandler
public abstract class TimerEventJobHandler extends Object implements JobHandler<TimerEventJobHandler.TimerJobConfiguration>
- Author:
- Roman Smirnov
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TimerEventJobHandler.TimerJobConfiguration
-
Field Summary
Fields Modifier and Type Field Description static String
JOB_HANDLER_CONFIG_PROPERTY_DELIMITER
static String
JOB_HANDLER_CONFIG_PROPERTY_FOLLOW_UP_JOB_CREATED
static String
JOB_HANDLER_CONFIG_TASK_LISTENER_PREFIX
-
Constructor Summary
Constructors Constructor Description TimerEventJobHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
adjustConfiguration(TimerEventJobHandler.TimerJobConfiguration configuration, String configPart)
TimerEventJobHandler.TimerJobConfiguration
newConfiguration(String canonicalString)
void
onDelete(TimerEventJobHandler.TimerJobConfiguration 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
execute, getType
-
-
-
-
Field Detail
-
JOB_HANDLER_CONFIG_PROPERTY_DELIMITER
public static final String JOB_HANDLER_CONFIG_PROPERTY_DELIMITER
- See Also:
- Constant Field Values
-
JOB_HANDLER_CONFIG_PROPERTY_FOLLOW_UP_JOB_CREATED
public static final String JOB_HANDLER_CONFIG_PROPERTY_FOLLOW_UP_JOB_CREATED
- See Also:
- Constant Field Values
-
JOB_HANDLER_CONFIG_TASK_LISTENER_PREFIX
public static final String JOB_HANDLER_CONFIG_TASK_LISTENER_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
newConfiguration
public TimerEventJobHandler.TimerJobConfiguration newConfiguration(String canonicalString)
- Specified by:
newConfiguration
in interfaceJobHandler<TimerEventJobHandler.TimerJobConfiguration>
-
adjustConfiguration
protected void adjustConfiguration(TimerEventJobHandler.TimerJobConfiguration configuration, String configPart)
-
onDelete
public void onDelete(TimerEventJobHandler.TimerJobConfiguration 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<TimerEventJobHandler.TimerJobConfiguration>
- Parameters:
configuration
- the job handler configurationjobEntity
- the job entity to be deleted
-
-