Package org.smallmind.schedule.quartz
Class QuartzProxyJob
- java.lang.Object
-
- org.smallmind.schedule.quartz.QuartzProxyJob
-
-
Constructor Summary
Constructors Constructor Description QuartzProxyJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToCount(int additional)voidexecute(org.quartz.JobExecutionContext jobExecutionContext)intgetCount()org.smallmind.nutsnbolts.util.SuccessOrFailuregetJobStatus()DategetStartTime()DategetStopTime()Throwable[]getThrowables()voidincCount()voidinterrupt()booleanisEnabled()voidsetThrowable(Throwable throwable)voidsetThrowable(Throwable throwable, boolean isFailure)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.smallmind.schedule.base.ProxyJob
cleanup, logOnZeroCount, proceed
-
-
-
-
Method Detail
-
getJobStatus
public org.smallmind.nutsnbolts.util.SuccessOrFailure getJobStatus()
- Specified by:
getJobStatusin interfaceProxyJob
-
getStartTime
public Date getStartTime()
- Specified by:
getStartTimein interfaceProxyJob
-
getStopTime
public Date getStopTime()
- Specified by:
getStopTimein interfaceProxyJob
-
addToCount
public void addToCount(int additional)
-
getThrowables
public Throwable[] getThrowables()
- Specified by:
getThrowablesin interfaceProxyJob
-
setThrowable
public void setThrowable(Throwable throwable)
- Specified by:
setThrowablein interfaceProxyJob
-
setThrowable
public void setThrowable(Throwable throwable, boolean isFailure)
-
interrupt
public void interrupt()
- Specified by:
interruptin interfaceorg.quartz.InterruptableJob
-
execute
public void execute(org.quartz.JobExecutionContext jobExecutionContext)
- Specified by:
executein interfaceorg.quartz.Job
-
-