Package org.dspace.app.scheduler.eperson
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
RegistrationDataScheduler
public RegistrationDataScheduler()
-
-
Method Details
-
deleteExpiredRegistrationData
@Scheduled(cron="${eperson.registration-data.scheduler.expired-registration-data.cron:-}") protected void deleteExpiredRegistrationData() throws SQLExceptionDeletes expiredRegistrationData. This task is scheduled to be run by the cron expression defined in the configuration file.- Throws:
SQLException
-