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
  • Constructor Details

    • OtherJobBase

      public OtherJobBase()
  • Method Details

    • getOtherJobInput

      public OtherJobBase.OtherJobInput getOtherJobInput()
      other job input
      Returns:
    • setOtherJobInput

      public void setOtherJobInput(OtherJobBase.OtherJobInput otherJobInput)
      Parameters:
      otherJobInput -
    • otherJobLogUpdaterInit

      public static void otherJobLogUpdaterInit()
    • otherJobLogUpdaterRegister

      public void otherJobLogUpdaterRegister(OtherJobLogUpdater otherJobLogUpdater)
      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

      public void otherJobLogUpdaterDeregister(OtherJobLogUpdater otherJobLogUpdater)
      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 interface org.quartz.Job
      Throws:
      org.quartz.JobExecutionException
      See Also:
      • Job.execute(org.quartz.JobExecutionContext)
    • execute

      public final void execute(String jobName, Hib3GrouperLoaderLog hib3GrouperLoaderLogInput)
      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