public class AutoSubmitAssessmentsJob extends Object implements org.quartz.Job
| Constructor and Description |
|---|
AutoSubmitAssessmentsJob() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.quartz.JobExecutionContext jobInfo) |
protected void |
loginToSakai(String whoAs)
Login to sakai and start a user session.
|
protected void |
logoutFromSakai() |
static String |
safeEventLength(String target)
Sometimes when logging to the sakai_events table it's possible to be logging
with a string you don't know the size of.
|
public void execute(org.quartz.JobExecutionContext jobInfo)
throws org.quartz.JobExecutionException
execute in interface org.quartz.Joborg.quartz.JobExecutionExceptionprotected void loginToSakai(String whoAs)
Login to sakai and start a user session. This users is intended to be one of the 'hard wired' users; admin, postmaster, or synchrobot.
( this list of users can be extended; add the user via UI, update the sakai_users table so their EID matches ID, add them to the admin realm, restart )
whoAs - - who to log in asprotected void logoutFromSakai()
public static final String safeEventLength(String target)
target - Copyright © 2003–2020 Sakai Project. All rights reserved.