public abstract class RhnQueueJob extends java.lang.Object implements RhnJob
DEFAULT_LOGGING_LAYOUT| Constructor and Description |
|---|
RhnQueueJob() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendExceptionToLogError(java.lang.Exception e)
appends an exception message to log error
useful in case job failed to start
|
void |
execute(org.quartz.JobExecutionContext ctx) |
void |
execute(org.quartz.JobExecutionContext ctx,
TaskoRun runIn)
execute method to be called
|
protected abstract java.lang.Class |
getDriverClass() |
protected abstract org.apache.log4j.Logger |
getLogger() |
protected abstract java.lang.String |
getQueueName() |
TaskoRun |
getRun() |
void |
setJobRun(TaskoRun runIn) |
protected abstract org.apache.log4j.Logger getLogger()
public void appendExceptionToLogError(java.lang.Exception e)
appendExceptionToLogError in interface RhnJobe - exceptionpublic void execute(org.quartz.JobExecutionContext ctx,
TaskoRun runIn)
throws org.quartz.JobExecutionException
public void execute(org.quartz.JobExecutionContext ctx)
throws org.quartz.JobExecutionException
execute in interface org.quartz.Joborg.quartz.JobExecutionExceptionpublic TaskoRun getRun()
public void setJobRun(TaskoRun runIn)
runIn - The run to set.protected abstract java.lang.Class getDriverClass()
protected abstract java.lang.String getQueueName()