public abstract class AbstractLongRunningJob extends com.helger.schedule.job.AbstractJob implements ILongRunningJob
| Constructor and Description |
|---|
AbstractLongRunningJob() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterExecute(org.quartz.JobDataMap aJobDataMap,
org.quartz.JobExecutionContext aContext,
com.helger.commons.state.ESuccess eExecSuccess) |
protected void |
beforeExecute(org.quartz.JobDataMap aJobDataMap,
org.quartz.JobExecutionContext aContext) |
protected abstract String |
getCurrentUserID(org.quartz.JobDataMap aJobDataMap)
Get the ID of the current user who executes the job.
|
protected LongRunningJobManager |
getLongRunningJobManager() |
execute, getExceptionCallbacks, onExecute, triggerCustomExceptionHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateLongRunningJobResult, getJobDescription@Nullable protected abstract String getCurrentUserID(@Nonnull org.quartz.JobDataMap aJobDataMap)
aJobDataMap - The current job data map. Never null.null but it is
recommended to deliver "guest" or the like instead.@Nonnull protected final LongRunningJobManager getLongRunningJobManager()
@OverridingMethodsMustInvokeSuper protected void beforeExecute(@Nonnull org.quartz.JobDataMap aJobDataMap, @Nonnull org.quartz.JobExecutionContext aContext)
beforeExecute in class com.helger.schedule.job.AbstractJob@OverridingMethodsMustInvokeSuper protected void afterExecute(@Nonnull org.quartz.JobDataMap aJobDataMap, @Nonnull org.quartz.JobExecutionContext aContext, @Nonnull com.helger.commons.state.ESuccess eExecSuccess)
afterExecute in class com.helger.schedule.job.AbstractJobCopyright © 2014–2015 Philip Helger. All rights reserved.