public interface RhnJob
extends org.quartz.Job
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_LOGGING_LAYOUT |
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 context,
TaskoRun taskRun)
execute method to be called
|
static final java.lang.String DEFAULT_LOGGING_LAYOUT
void execute(org.quartz.JobExecutionContext context, TaskoRun taskRun) throws org.quartz.JobExecutionException
context
- job contexttaskRun
- associated runorg.quartz.JobExecutionException
- thrown in case of any runtime exceptionvoid appendExceptionToLogError(java.lang.Exception e)
e
- exception