edu.internet2.middleware.grouper.app.loader
Class GrouperLoaderJob
java.lang.Object
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob
- All Implemented Interfaces:
- org.quartz.Job, org.quartz.StatefulJob
public class GrouperLoaderJob
- extends java.lang.Object
- implements org.quartz.Job, org.quartz.StatefulJob
class which will run a loader job
implements StatefulJob so multiple dont run at once
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrouperLoaderJob
public GrouperLoaderJob()
execute
public 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)
runJob
public static void runJob(Hib3GrouperLoaderLog hib3GrouploaderLog,
Group jobGroup,
GrouperSession grouperSession)
- run a job (either from quartz or outside)
- Parameters:
hib3GrouploaderLog
- will get information, most importantly the job namejobGroup
- if a group job, this is the group objectgrouperSession
-
runJobAttrDef
public static void runJobAttrDef(Hib3GrouperLoaderLog hib3GrouploaderLog,
AttributeDef jobAttributeDef,
GrouperSession grouperSession)
- run a job (either from quartz or outside)
- Parameters:
hib3GrouploaderLog
- will get information, most importantly the job namejobAttributeDef
- if a attributeDef job, this is the attributeDef objectgrouperSession
-