Class OtherJobBase
java.lang.Object
edu.internet2.middleware.grouper.app.loader.OtherJobBase
- All Implemented Interfaces:
org.quartz.Job
- Direct Known Subclasses:
DeleteOldSyncLogsDaemon,DigitalMarketplaceOtherJob,FindBadGroupsUniqueExtensionInFolderDaemon,GrouperAttestationDaemonLogic,GrouperAttestationJob,GrouperBuiltinMessagingDaemon,GrouperCsvReportJob,GrouperDaemonDeleteOldRecords,GrouperDaemonEnabledDisabledCheck,GrouperDaemonSchedulerCheck,GrouperDataProviderFullSyncJob,GrouperDataProviderIncrementalSyncJob,GrouperDeprovisioningCleanupDeprovisionedUsersJob,GrouperDeprovisioningDaemonLogic,GrouperLoaderJexlScriptFullSync,GrouperObjectTypesDaemonLogic,GrouperPasswordRecentlyUsedCleanupJob,GrouperProvisioningFullSyncJob,GrouperReport,GrouperReportClearJob,GrouperRulesDaemon,GrouperSftpToSqlJob,GrouperTimeDaemon,GrouperWorkflowDaemonJob,GrouperWorkflowReminderEmailJob,GrouperZoomFullSync,GrouperZoomLoader,GroupPolicyUserLifecycleFullDaemon,GroupSyncDaemon,LdapToSqlSyncDaemon,MembershipRequireFullSyncJob,NotificationDaemon,OtherJobScript,RemedyOtherJob,SqlCacheFullSyncDaemon,SqlCacheHistoryFullSyncDaemon,StemViewPrivilegeFullDaemonLogic,SubjectChangeDaemon,SyncAllPitTablesDaemon,SyncAllSetTablesDaemon,SyncToGrouperFromSqlDaemon,TableSyncOtherJob,TierInstrumentationDaemon,UpgradeTasksJob,UsduJob,UserLifecycleFullDaemon
@DisallowConcurrentExecution
public abstract class OtherJobBase
extends Object
implements org.quartz.Job
note, all subclasses should have annotation @DisallowConcurrentExecution
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidexecute(String jobName, Hib3GrouperLoaderLog hib3GrouperLoaderLogInput) final voidexecute(org.quartz.JobExecutionContext context) other job inputvoidotherJobLogUpdaterDeregister(OtherJobLogUpdater otherJobLogUpdater) static voidvoidotherJobLogUpdaterRegister(OtherJobLogUpdater otherJobLogUpdater) do not register an updater if you are updating this object too...abstract OtherJobBase.OtherJobOutputrun(OtherJobBase.OtherJobInput otherJobInput) implement this method for the logic of the OtherJobvoidsetOtherJobInput(OtherJobBase.OtherJobInput otherJobInput) static voidstoreLogInDb(Hib3GrouperLoaderLog hib3GrouploaderLog, boolean throwException, long startTime)
-
Constructor Details
-
OtherJobBase
public OtherJobBase()
-
-
Method Details
-
getOtherJobInput
other job input- Returns:
-
setOtherJobInput
- Parameters:
otherJobInput-
-
otherJobLogUpdaterInit
public static void otherJobLogUpdaterInit() -
otherJobLogUpdaterRegister
do not register an updater if you are updating this object too... might be fine but might have some contention. deregister in finally block- Parameters:
otherJobLogUpdater-
-
otherJobLogUpdaterDeregister
- Parameters:
otherJobLogUpdater-
-
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:
executein interfaceorg.quartz.Job- Throws:
org.quartz.JobExecutionException- See Also:
-
Job.execute(org.quartz.JobExecutionContext)
-
execute
- Parameters:
jobName- e.g. OTHER_JOB_attestationDaemonhib3GrouperLoaderLog- if null create a new one
-
run
implement this method for the logic of the OtherJob- Parameters:
otherJobInput-- Returns:
- the output
-