public abstract class OtherJobBase extends Object implements org.quartz.Job
Modifier and Type | Class and Description |
---|---|
static class |
OtherJobBase.OtherJobInput |
static class |
OtherJobBase.OtherJobOutput |
Constructor and Description |
---|
OtherJobBase() |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.quartz.JobExecutionContext context) |
void |
execute(String jobName,
Hib3GrouperLoaderLog hib3GrouperLoaderLogInput) |
OtherJobBase.OtherJobInput |
getOtherJobInput()
other job input
|
void |
otherJobLogUpdaterDeregister(OtherJobLogUpdater otherJobLogUpdater) |
static void |
otherJobLogUpdaterInit() |
void |
otherJobLogUpdaterRegister(OtherJobLogUpdater otherJobLogUpdater)
do not register an updater if you are updating this object too...
|
abstract OtherJobBase.OtherJobOutput |
run(OtherJobBase.OtherJobInput otherJobInput)
implement this method for the logic of the OtherJob
|
void |
setOtherJobInput(OtherJobBase.OtherJobInput otherJobInput) |
static void |
storeLogInDb(Hib3GrouperLoaderLog hib3GrouploaderLog,
boolean throwException,
long startTime) |
public OtherJobBase.OtherJobInput getOtherJobInput()
public void setOtherJobInput(OtherJobBase.OtherJobInput otherJobInput)
otherJobInput
- public static void otherJobLogUpdaterInit()
public void otherJobLogUpdaterRegister(OtherJobLogUpdater otherJobLogUpdater)
otherJobLogUpdater
- public void otherJobLogUpdaterDeregister(OtherJobLogUpdater otherJobLogUpdater)
otherJobLogUpdater
- public static void storeLogInDb(Hib3GrouperLoaderLog hib3GrouploaderLog, boolean throwException, long startTime)
hib3GrouploaderLog
- throwException
- startTime
- public final void execute(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
execute
in interface org.quartz.Job
org.quartz.JobExecutionException
Job.execute(org.quartz.JobExecutionContext)
public final void execute(String jobName, Hib3GrouperLoaderLog hib3GrouperLoaderLogInput)
jobName
- e.g. OTHER_JOB_attestationDaemonhib3GrouperLoaderLog
- if null create a new onepublic abstract OtherJobBase.OtherJobOutput run(OtherJobBase.OtherJobInput otherJobInput)
otherJobInput
- Copyright © 2016 Internet2. All rights reserved.