com.dotmarketing.quartz
Class DotJob

java.lang.Object
  extended by com.dotmarketing.quartz.DotJob
All Implemented Interfaces:
org.quartz.Job
Direct Known Subclasses:
DotStatefulJob

public abstract class DotJob
extends java.lang.Object
implements org.quartz.Job


Constructor Summary
DotJob()
           
 
Method Summary
protected  void addMessage(java.lang.String newMessage)
           
 void execute(org.quartz.JobExecutionContext jobContext)
           
protected  long getEndProgress()
           
protected  java.util.List<java.lang.String> getJobMessages()
           
protected  long getProgress()
           
protected  long getStartProgress()
           
abstract  void run(org.quartz.JobExecutionContext jobContext)
           
protected  void setEndProgress(int endProgress)
           
protected  void setStartProgress(int startProgress)
           
protected  void updateProgress(int currentProgress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DotJob

public DotJob()
Method Detail

getProgress

protected long getProgress()
                    throws org.quartz.SchedulerException
Throws:
org.quartz.SchedulerException

updateProgress

protected void updateProgress(int currentProgress)

getStartProgress

protected long getStartProgress()
                         throws org.quartz.SchedulerException
Throws:
org.quartz.SchedulerException

setStartProgress

protected void setStartProgress(int startProgress)

getEndProgress

protected long getEndProgress()

setEndProgress

protected void setEndProgress(int endProgress)

getJobMessages

protected java.util.List<java.lang.String> getJobMessages()

addMessage

protected void addMessage(java.lang.String newMessage)

execute

public void execute(org.quartz.JobExecutionContext jobContext)
             throws org.quartz.JobExecutionException
Specified by:
execute in interface org.quartz.Job
Throws:
org.quartz.JobExecutionException

run

public abstract void run(org.quartz.JobExecutionContext jobContext)
                  throws org.quartz.JobExecutionException
Throws:
org.quartz.JobExecutionException


Copyright © 2013 dotCMS Inc. All Rights Reserved.