edu.internet2.middleware.grouper.app.loader
Class OtherJobBase
java.lang.Object
edu.internet2.middleware.grouper.app.loader.OtherJobBase
- All Implemented Interfaces:
- org.quartz.Job
- Direct Known Subclasses:
- GrouperAttestationJob
public abstract class OtherJobBase
- extends Object
- implements org.quartz.Job
OtherJobBase
public OtherJobBase()
storeLogInDb
public static void storeLogInDb(Hib3GrouperLoaderLog hib3GrouploaderLog,
boolean throwException,
long startTime)
- Parameters:
hib3GrouploaderLog
- throwException
- startTime
-
execute
public final void execute(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
- Specified by:
execute
in interface org.quartz.Job
- Throws:
org.quartz.JobExecutionException
- See Also:
Job.execute(org.quartz.JobExecutionContext)
execute
public final void execute(String jobName,
Hib3GrouperLoaderLog hib3GrouperLoaderLog)
- Parameters:
jobName
- e.g. OTHER_JOB_attestationDaemonhib3GrouperLoaderLog
- if null create a new one
run
public abstract OtherJobBase.OtherJobOutput run(OtherJobBase.OtherJobInput otherJobInput)
- implement this method for the logic of the OtherJob
- Parameters:
otherJobInput
-
- Returns:
- the output