edu.internet2.middleware.grouper.app.loader
Class OtherJobBase

java.lang.Object
  extended by 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


Nested Class Summary
static class OtherJobBase.OtherJobInput
           
static class OtherJobBase.OtherJobOutput
           
 
Constructor Summary
OtherJobBase()
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext context)
           
 void execute(String jobName, Hib3GrouperLoaderLog hib3GrouperLoaderLog)
           
abstract  OtherJobBase.OtherJobOutput run(OtherJobBase.OtherJobInput otherJobInput)
          implement this method for the logic of the OtherJob
static void storeLogInDb(Hib3GrouperLoaderLog hib3GrouploaderLog, boolean throwException, long startTime)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OtherJobBase

public OtherJobBase()
Method Detail

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_attestationDaemon
hib3GrouperLoaderLog - 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