Class RegistrationDataScheduler

java.lang.Object
org.dspace.app.scheduler.eperson.RegistrationDataScheduler

@Service @ConditionalOnProperty(prefix="eperson.registration-data.scheduler", name="enabled", havingValue="true") public class RegistrationDataScheduler extends Object
Contains all the schedulable task related to RegistrationData entities. Can be enabled via the configuration property eperson.registration-data.scheduler.enabled
Author:
Vincenzo Mecca (vins01-4science - vincenzo.mecca at 4science.com)
  • Constructor Details

    • RegistrationDataScheduler

      public RegistrationDataScheduler()
  • Method Details

    • deleteExpiredRegistrationData

      @Scheduled(cron="${eperson.registration-data.scheduler.expired-registration-data.cron:-}") protected void deleteExpiredRegistrationData() throws SQLException
      Deletes expired RegistrationData. This task is scheduled to be run by the cron expression defined in the configuration file.
      Throws:
      SQLException