public class JobBase
extends java.lang.Object
implements org.quartz.Job
构造器和说明 |
---|
JobBase() |
JobBase(java.lang.String jobkey,
java.lang.String jobname,
java.lang.String jobGroup,
java.lang.String jobCronExpress) |
限定符和类型 | 方法和说明 |
---|---|
void |
exec(org.quartz.JobExecutionContext arg0)
子类覆盖该函数 任务执行的函数
|
void |
execute(org.quartz.JobExecutionContext arg0) |
java.lang.String |
getJobCronExpress() |
java.lang.String |
getJobGroup() |
java.lang.String |
getJobkey() |
java.lang.String |
getJobname() |
java.util.Date |
getJobNexTime() |
java.util.Map<java.lang.String,java.lang.Object> |
getJobparams() |
void |
setJobCronExpress(java.lang.String jobCronExpress) |
void |
setJobGroup(java.lang.String jobGroup) |
void |
setJobkey(java.lang.String jobkey) |
void |
setJobname(java.lang.String jobName) |
void |
setJobNexTime(java.util.Date jobNexTime) |
void |
setJobparams(java.util.Map<java.lang.String,java.lang.Object> jobparams) |
public JobBase()
public JobBase(java.lang.String jobkey, java.lang.String jobname, java.lang.String jobGroup, java.lang.String jobCronExpress)
public java.util.Date getJobNexTime()
public void setJobNexTime(java.util.Date jobNexTime)
public java.lang.String getJobCronExpress()
public void setJobCronExpress(java.lang.String jobCronExpress)
public java.util.Map<java.lang.String,java.lang.Object> getJobparams()
public void setJobparams(java.util.Map<java.lang.String,java.lang.Object> jobparams)
public java.lang.String getJobkey()
public void setJobkey(java.lang.String jobkey)
public java.lang.String getJobname()
public void setJobname(java.lang.String jobName)
public java.lang.String getJobGroup()
public void setJobGroup(java.lang.String jobGroup)
public void execute(org.quartz.JobExecutionContext arg0) throws org.quartz.JobExecutionException
execute
在接口中 org.quartz.Job
org.quartz.JobExecutionException
public void exec(org.quartz.JobExecutionContext arg0)
arg0
- 参数