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
,GroupSyncDaemon
,LdapToSqlSyncDaemon
,MembershipRequireFullSyncJob
,NotificationDaemon
,OtherJobScript
,RemedyOtherJob
,SqlCacheFullSyncDaemon
,StemViewPrivilegeFullDaemonLogic
,SubjectChangeDaemon
,SyncAllPitTablesDaemon
,SyncAllSetTablesDaemon
,SyncToGrouperFromSqlDaemon
,TableSyncOtherJob
,TierInstrumentationDaemon
,UpgradeTasksJob
,UsduJob
@DisallowConcurrentExecution
public abstract class OtherJobBase
extends Object
implements org.quartz.Job
note, all subclasses should have annotation @DisallowConcurrentExecution
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
execute
(String jobName, Hib3GrouperLoaderLog hib3GrouperLoaderLogInput) final void
execute
(org.quartz.JobExecutionContext context) other job inputvoid
otherJobLogUpdaterDeregister
(OtherJobLogUpdater otherJobLogUpdater) static void
void
otherJobLogUpdaterRegister
(OtherJobLogUpdater otherJobLogUpdater) do not register an updater if you are updating this object too...abstract OtherJobBase.OtherJobOutput
run
(OtherJobBase.OtherJobInput otherJobInput) implement this method for the logic of the OtherJobvoid
setOtherJobInput
(OtherJobBase.OtherJobInput otherJobInput) static void
storeLogInDb
(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:
execute
in 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
-