public abstract class TimerEventJobHandler extends Object implements JobHandler<TimerEventJobHandler.TimerJobConfiguration>
Modifier and Type | Class and Description |
---|---|
static class |
TimerEventJobHandler.TimerJobConfiguration |
Modifier and Type | Field and 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 and Description |
---|
TimerEventJobHandler() |
Modifier and Type | Method and 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, getType
public static final String JOB_HANDLER_CONFIG_PROPERTY_DELIMITER
public static final String JOB_HANDLER_CONFIG_PROPERTY_FOLLOW_UP_JOB_CREATED
public static final String JOB_HANDLER_CONFIG_TASK_LISTENER_PREFIX
public TimerEventJobHandler.TimerJobConfiguration newConfiguration(String canonicalString)
newConfiguration
in interface JobHandler<TimerEventJobHandler.TimerJobConfiguration>
protected void adjustConfiguration(TimerEventJobHandler.TimerJobConfiguration configuration, String configPart)
public void onDelete(TimerEventJobHandler.TimerJobConfiguration configuration, JobEntity jobEntity)
JobHandler
onDelete
in interface JobHandler<TimerEventJobHandler.TimerJobConfiguration>
configuration
- the job handler configurationjobEntity
- the job entity to be deletedCopyright © 2021. All rights reserved.