com.liferay.portal.job
Class JobExecutionContextImpl

java.lang.Object
  extended by com.liferay.portal.job.JobExecutionContextImpl
All Implemented Interfaces:
com.liferay.portal.kernel.job.JobExecutionContext

public class JobExecutionContextImpl
extends java.lang.Object
implements com.liferay.portal.kernel.job.JobExecutionContext

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
JobExecutionContextImpl(org.quartz.JobExecutionContext context)
           
 
Method Summary
 java.lang.Object get(java.lang.Object key)
           
 long getJobRunTime()
           
 java.util.Date getNextFireTime()
           
 java.util.Date getPreviousFireTime()
           
 java.lang.Object getResult()
           
 void put(java.lang.Object key, java.lang.Object value)
           
 void setJobRunTime(long jobRunTime)
           
 void setResult(java.lang.Object result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobExecutionContextImpl

public JobExecutionContextImpl(org.quartz.JobExecutionContext context)
Method Detail

get

public java.lang.Object get(java.lang.Object key)
Specified by:
get in interface com.liferay.portal.kernel.job.JobExecutionContext

getJobRunTime

public long getJobRunTime()
Specified by:
getJobRunTime in interface com.liferay.portal.kernel.job.JobExecutionContext

getNextFireTime

public java.util.Date getNextFireTime()
Specified by:
getNextFireTime in interface com.liferay.portal.kernel.job.JobExecutionContext

getPreviousFireTime

public java.util.Date getPreviousFireTime()
Specified by:
getPreviousFireTime in interface com.liferay.portal.kernel.job.JobExecutionContext

getResult

public java.lang.Object getResult()
Specified by:
getResult in interface com.liferay.portal.kernel.job.JobExecutionContext

put

public void put(java.lang.Object key,
                java.lang.Object value)
Specified by:
put in interface com.liferay.portal.kernel.job.JobExecutionContext

setJobRunTime

public void setJobRunTime(long jobRunTime)
Specified by:
setJobRunTime in interface com.liferay.portal.kernel.job.JobExecutionContext

setResult

public void setResult(java.lang.Object result)
Specified by:
setResult in interface com.liferay.portal.kernel.job.JobExecutionContext